/** * @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); } }
/** * @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); } }