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/CHANGELOG | |
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/CHANGELOG')
-rw-r--r-- | actionpack/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 6c0f1b206a..2aec574270 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* 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] + * Fixed Form.Serialize for the JavascriptHelper to also seriliaze password fields #934 [dweitzman@gmail.com] * Added JavascriptHelper#escape_javascript as a public method (was private) and made it escape both single and double quotes and new lines #940 [mortonda@dgrmm.net] |