application/controllers/Subscribe.php
/* 
    * It only redirects to the manage product page
    */
It only redirects to the manage product page
It only redirects to the manage product page
public function index()
	{
        if(!in_array('viewSubscription', $this->permission)) {
            redirect('dashboard', 'refresh');
        }
		$this->render_template('subscribe/index', $this->data);	
	}
public function index ( ) { if ( ! in_array ( 'viewSubscription' , $ this -> permission ) ) { redirect ( 'dashboard' , 'refresh' ) ; } $ this -> render_template ( 'subscribe/index' , $ this -> data ) ; }
It only redirects to the manage product page
It only redirects to the manage product page