aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/helpers.rb
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2010-09-05 22:06:43 -0300
committerJosé Valim <jose.valim@gmail.com>2010-09-06 13:40:45 +0200
commit11fccc5f06bc67353b895eeeb65cfab94cb4cd25 (patch)
tree22f9c1970bdb16f54a19c852dc9a0d48e9d7c692 /actionpack/lib/action_controller/metal/helpers.rb
parented2650646ec9bd1103d6c049db8df99b7313d6b1 (diff)
downloadrails-11fccc5f06bc67353b895eeeb65cfab94cb4cd25.tar.gz
rails-11fccc5f06bc67353b895eeeb65cfab94cb4cd25.tar.bz2
rails-11fccc5f06bc67353b895eeeb65cfab94cb4cd25.zip
Cleanup deprecation warnings in Action Controller
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/lib/action_controller/metal/helpers.rb')
-rw-r--r--actionpack/lib/action_controller/metal/helpers.rb12
1 files changed, 1 insertions, 11 deletions
diff --git a/actionpack/lib/action_controller/metal/helpers.rb b/actionpack/lib/action_controller/metal/helpers.rb
index c5d7842db3..4d5d534c75 100644
--- a/actionpack/lib/action_controller/metal/helpers.rb
+++ b/actionpack/lib/action_controller/metal/helpers.rb
@@ -58,16 +58,6 @@ module ActionController
end
module ClassMethods
- def helpers_dir
- 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", caller
- self.helpers_path = Array.wrap(value)
- end
-
# Declares helper accessors for controller attributes. For example, the
# following adds new +name+ and <tt>name=</tt> instance methods to a
# controller and makes them available to the view:
@@ -87,7 +77,7 @@ module ActionController
private
# Overwrite modules_for_helpers to accept :all as argument, which loads
- # all helpers in helpers_dir.
+ # all helpers in helpers_path.
#
# ==== Parameters
# * <tt>args</tt> - A list of helpers