public function before() { parent::before(); if (empty($this->blog_id)) { $this->back_url = Route::url('modules', array('controller' => $this->controller_name['entity'])); $this->request->current()->redirect($this->back_url); } $this->filter_type_options = array('all' => __('all'), 'own' => __('own')); }
public function before() { parent::before(); $this->filter_type_options = array('all' => __('all'), 'own' => __('own')); }