예제 #1
0
파일: ajax.php 프로젝트: roine/wawaw
 public function action_dashboard()
 {
     if (!Sentry::user()->has_access('ajax_dashboard')) {
         Session::set_flash('error', 'You do not have right acces there');
         Response::redirect('/');
     }
     $data['json'] = Model_Ajax::dashboard(Input::post('values'), $this->languages);
     $this->template->content = View::forge('ajax/view', $data);
 }