diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-17 18:59:51 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-17 18:59:51 +0000 |
commit | 04b8bc1bdd13de1a5a47239bea12229ca98dd0cc (patch) | |
tree | 4b6e03b7877af32102476a0359eefcee507e58e0 /railties | |
parent | 761b18a564182f84b914b8510d092d4311423d7d (diff) | |
download | rails-04b8bc1bdd13de1a5a47239bea12229ca98dd0cc.tar.gz rails-04b8bc1bdd13de1a5a47239bea12229ca98dd0cc.tar.bz2 rails-04b8bc1bdd13de1a5a47239bea12229ca98dd0cc.zip |
Fixed that a bunch of methods from ActionController::Base was accessible as actions (callable through a URL) when they shouldn't have been #644 [Nicholas Seckar]. Base#hide_actions(*names) to hide public methods from a controller that would otherwise have been callable through the URL. For the majority of cases, its preferred just to make the methods you don't want to expose protected or private (so they'll automatically be hidden) -- but if you must have a public method, this is a way to make it uncallable. Base#hidden_actions retrieve the list of all hidden actions for the controller #644 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
0 files changed, 0 insertions, 0 deletions