diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-26 21:41:10 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-26 21:41:10 +0000 |
commit | f569a14318e25005dfe27a51b3950c426581f18f (patch) | |
tree | 0fdd5c87b997ef88b01c248da677f8250855f3cb /actionpack/Rakefile | |
parent | 48b4d28d81f07204b6ae2c5c6b034e9fb9983788 (diff) | |
download | rails-f569a14318e25005dfe27a51b3950c426581f18f.tar.gz rails-f569a14318e25005dfe27a51b3950c426581f18f.tar.bz2 rails-f569a14318e25005dfe27a51b3950c426581f18f.zip |
Added Verifications that allows you to specify preconditions to actions in form of statements like <tt>verify :only => :update_post, :params => "admin_privileges", :redirect_to => { :action => "settings" }</tt>, which ensure that the update_post action is only called if admin_privileges is available as a parameter -- otherwise the user is redirected to settings. #897 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/Rakefile')
0 files changed, 0 insertions, 0 deletions