method

_find_action_name

Importance_1
v7.1.3.4 - Show latest stable - 0 notes - Class: AbstractController::Base
_find_action_name(action_name) private

Takes an action name and returns the name of the method that will handle the action.

It checks if the action name is valid and returns false otherwise.

See method_for_action for more information.

Parameters

  • action_name - An action name to find a method name for

Returns

  • string - The name of the method that handles the action

  • false - No valid method name could be found.

Raise +AbstractController::ActionNotFound+.

Show source
Register or log in to add new notes.