class AbstractController::Base

def available_action?(action_name)

* action_name - The name of an action to be tested
==== 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