Class Index [+]

Quicksearch

ActionController::HideActions

ActionController::HideActions adds the ability to prevent public methods on a controller to be called as actions.

Private Instance Methods

method_for_action(action_name) click to toggle source

Overrides AbstractController::Base#action_method? to return false if the action name is in the list of hidden actions.

    # File lib/action_controller/metal/hide_actions.rb, line 18
18:     def method_for_action(action_name)
19:       self.class.visible_action?(action_name) && super
20:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.