aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/flash.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-09-05 22:08:33 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-09-05 22:08:33 +0000
commitbd09d9aafb56912ba384a20ac3dfd7bfd7a784e4 (patch)
tree41df16a94274d5a814b747b4e3d5eb84752710b7 /actionpack/lib/action_controller/flash.rb
parent9598176390b624bece9c4e2f9aecb68e0cc95871 (diff)
downloadrails-bd09d9aafb56912ba384a20ac3dfd7bfd7a784e4.tar.gz
rails-bd09d9aafb56912ba384a20ac3dfd7bfd7a784e4.tar.bz2
rails-bd09d9aafb56912ba384a20ac3dfd7bfd7a784e4.zip
caller is necessary for proper trace in deprecation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/flash.rb')
-rw-r--r--actionpack/lib/action_controller/flash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/flash.rb b/actionpack/lib/action_controller/flash.rb
index 6721a69d8c..9f50b9571d 100644
--- a/actionpack/lib/action_controller/flash.rb
+++ b/actionpack/lib/action_controller/flash.rb
@@ -174,7 +174,7 @@ module ActionController #:nodoc:
# deprecated. use <tt>flash.keep</tt> instead
def keep_flash #:doc:
- ActiveSupport::Deprecation.warn 'keep_flash is deprecated; use flash.keep instead.'
+ ActiveSupport::Deprecation.warn 'keep_flash is deprecated; use flash.keep instead.', caller
flash.keep
end
end