static public Method

Controller.hide_action(*names)

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

Source Code

# File merb/controller.rb, line 73
def hide_action(*names)
  write_inheritable_attribute(:hidden_actions, hidden_actions | names.collect { |n| n.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.