123456789_123456789_123456789_123456789_123456789_

Module: ActionController::HideActions

Relationships & Source Files
Namespace Children
Modules:
Extension / Inclusion / Inheritance Descendants
Included In:
Base, ::ActionView::TestCase::TestController, Rails::ApplicationController, Rails::InfoController, Rails::MailersController, Rails::WelcomeController
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Defined in: actionpack/lib/action_controller/metal/hide_actions.rb

Overview

Adds the ability to prevent public methods on a controller to be called as actions.

Class Method Summary

DSL Calls

included

[ GitHub ]


7
8
9
10
# File 'actionpack/lib/action_controller/metal/hide_actions.rb', line 7

included do
  class_attribute :hidden_actions
  self.hidden_actions = Set.new.freeze
end