示例#1
0
文件: ajax.php 项目: roine/wawaw
 public function action_deleteData()
 {
     if (!Input::post() || !Sentry::user()->has_access('customers_delete')) {
         Response::redirect('');
     }
     $data['json'] = Model_Ajax::deleteData(Input::post());
     $this->template->content = View::forge('ajax/view', $data);
 }