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