app/controllers/avo/actions_controller.rb in avo-0.5.0.beta5 vs app/controllers/avo/actions_controller.rb in avo-0.5.0.beta6
- old
+ new
@@ -33,10 +33,9 @@
model = @resource.model_class.find params[:id]
end
@action = action_class.new
@action.hydrate(model: model, resource: resource, user: _current_user)
- @action.boot_fields request
end
def respond(response)
response[:type] ||= :reload
response[:message_type] ||= :notice