method

_find_action_name

Importance_1
v4.1.8 - 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 ActionNotFound.

Show source
Register or log in to add new notes.