method
perform_action
v1.2.6 -
Show latest stable
- Class:
ActionController::Base
perform_action()private
No documentation available.
# File actionpack/lib/action_controller/base.rb, line 1099
def perform_action
if self.class.action_methods.include?(action_name)
send(action_name)
render unless performed?
elsif respond_to? :method_missing
send(:method_missing, action_name)
render unless performed?
elsif template_exists? && template_public?
render
else
raise UnknownAction, "No action responded to #{action_name}", caller
end
end