class AbstractController::Base
def available_action?(action_name)
==== Parameters
through other means, for example, implicit render ones.
this method considers actions that are also available
false and available_action?("foo") returns true because
Notice that action_methods.include?("foo") may return
can be dispatched, false otherwise.
Returns true if a method for the action is available and
def available_action?(action_name) _find_action_name(action_name) end