aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-09-09 18:00:55 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-09-09 18:00:55 +0000
commit89b7630627b2e4c16b499273bc95b9fb40c7ed0a (patch)
treec6fc2234f2ebbd3561af2178ec23fd6cb07bc4ad /actionpack/lib
parent85800c110eb00924f0260774ac7bceac13a6ace3 (diff)
downloadrails-89b7630627b2e4c16b499273bc95b9fb40c7ed0a.tar.gz
rails-89b7630627b2e4c16b499273bc95b9fb40c7ed0a.tar.bz2
rails-89b7630627b2e4c16b499273bc95b9fb40c7ed0a.zip
Removed the deprecated ActionController#Base.template_root/= methods (use ActionController#Base.view_paths/= instead) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rwxr-xr-xactionpack/lib/action_controller/base.rb13
1 files changed, 1 insertions, 12 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index 81db0ed467..a636f8b246 100755
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -380,18 +380,7 @@ module ActionController #:nodoc:
write_inheritable_attribute(:hidden_actions, hidden_actions | names.collect { |n| n.to_s })
end
- # Deprecated. Use view_paths instead.
- def template_root=(path)
- prepend_view_path path
- template_root
- end
-
- # Deprecated. Use view_paths instead.
- def template_root
- view_paths.first
- end
- deprecate :template_root => :view_paths
-
+
@@view_paths = {}
# View load paths determine the bases from which template references can be made. So a call to