instance method
default_action
Ruby on Rails 4.0.13
Since v3.0.20 Last seen in v4.1.16Signature
default_action()
By default, render the :edit action for HTML requests with errors, unless the verb was POST.
Source
# File actionpack/lib/action_controller/metal/responder.rb, line 271
def default_action
@action ||= DEFAULT_ACTIONS_FOR_VERBS[request.request_method_symbol]
end
Defined in actionpack/lib/action_controller/metal/responder.rb line 271
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Responder