예제 #1
0
파일: ajax.php 프로젝트: roine/wawaw
 public function action_updateData($table = null)
 {
     if (!Input::post() || !Sentry::user()->has_access('customers_update')) {
         Response::redirect('');
     }
     $data['table'] = $table;
     $data['json'] = Model_Ajax::updateData(Input::post(), $table);
     $this->template->content = View::forge('ajax/view', $data);
 }