diff options
Diffstat (limited to 'actionpack/lib/action_controller/verification.rb')
-rw-r--r-- | actionpack/lib/action_controller/verification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/verification.rb b/actionpack/lib/action_controller/verification.rb index b0f5236adf..021aa27b6d 100644 --- a/actionpack/lib/action_controller/verification.rb +++ b/actionpack/lib/action_controller/verification.rb @@ -77,7 +77,7 @@ module ActionController #:nodoc: if prereqs_invalid flash.update(options[:add_flash]) if options[:add_flash] - redirect_to(options[:redirect_to]) + redirect_to(options[:redirect_to]) if options[:redirect_to] return false end |