method
action_method?
v3.2.13 -
Show latest stable
- Class:
AbstractController::Base
action_method?(name)private
Returns true if the name can be considered an action because it has a method defined in the controller.
Parameters
-
name - The name of an action to be tested
Returns
:api: private