static public Method

Base.hide_action(*names)

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

Source Code

# File action_controller/base.rb, line 420
def hide_action(*names)
  write_inheritable_attribute(:hidden_actions, hidden_actions | names.map(&:to_s))
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.