class method self.hide_action

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

self.hide_action(*names)

Hide each of the given methods from being callable as actions.

Parameters

names rest
Source
# File actionpack/lib/action_controller/base.rb, line 418
      def hide_action(*names)
        write_inheritable_attribute(:hidden_actions, hidden_actions | names.map { |name| name.to_s })
      end

Defined in actionpack/lib/action_controller/base.rb line 418 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Base

Type at least 2 characters to search.

↑↓ navigate · open · esc close