aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-06-28 14:48:44 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-06-28 14:48:44 -0700
commitf8011e67b002990e1c25550c161ab0af6af6620f (patch)
tree6f2d37b731408dec8d1812ce42160713585819fc /actionpack/lib/action_controller/metal
parentb3318bd937a238ad2def93cb3bfa5b572f80a8a8 (diff)
downloadrails-f8011e67b002990e1c25550c161ab0af6af6620f.tar.gz
rails-f8011e67b002990e1c25550c161ab0af6af6620f.tar.bz2
rails-f8011e67b002990e1c25550c161ab0af6af6620f.zip
Use caller for helpers_dir deprecation warnings
Diffstat (limited to 'actionpack/lib/action_controller/metal')
-rw-r--r--actionpack/lib/action_controller/metal/helpers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/helpers.rb b/actionpack/lib/action_controller/metal/helpers.rb
index b6d4fb1284..89201fb5ee 100644
--- a/actionpack/lib/action_controller/metal/helpers.rb
+++ b/actionpack/lib/action_controller/metal/helpers.rb
@@ -58,12 +58,12 @@ module ActionController
module ClassMethods
def helpers_dir
- ActiveSupport::Deprecation.warn "helpers_dir is deprecated, use helpers_path instead"
+ ActiveSupport::Deprecation.warn "helpers_dir is deprecated, use helpers_path instead", caller
self.helpers_path
end
def helpers_dir=(value)
- ActiveSupport::Deprecation.warn "helpers_dir= is deprecated, use helpers_path= instead"
+ ActiveSupport::Deprecation.warn "helpers_dir= is deprecated, use helpers_path= instead", caller
self.helpers_path = Array(value)
end