Method: Weeler::ActionController::Acts::Restful::InstanceMethodsOnActivation#update

Defined in:
lib/weeler/action_controller/acts/restful.rb

#updateObject



92
93
94
95
96
97
98
# File 'lib/weeler/action_controller/acts/restful.rb', line 92

def update
  if @item.update(items_params)
    after_update_action
  else
    render :action => 'edit'
  end
end