Exemple #1
0
 /**
  * @ntentan.action edit
  * @ntentan.method POST
  * @ntentan.binder \ntentan\wyf\controllers\CrudModelBinder
  * 
  * @param Model $model
  * @return type
  */
 public function update(Model $model)
 {
     if ($model->save()) {
         return Redirect::action(null);
     }
 }