static public Method

Base.hidden_actions

Return an array containing the names of public methods that have been marked hidden from the action processor. By default, all methods defined in ActionController::Base and included modules are hidden. More methods can be hidden using hide_actions.

Source Code

# File action_controller/base.rb, line 411
def hidden_actions
  unless read_inheritable_attribute(:hidden_actions)
    write_inheritable_attribute(:hidden_actions, ActionController::Base.public_instance_methods.map(&:to_s))
  end

  read_inheritable_attribute(:hidden_actions)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.