<?php
class Directives extends Cf_Controller
{
    /**
     * Load partials
     *
     * @param type $partial - name of the view
     */
    public function partials($partial)
    {
        $this->load->library('ion_auth');
        $this->load->view('directives/' . $partial, ['isAdmin' => $this->ion_auth->is_admin()]);
    }
}
