From 0100a79913af60abd15351efd4a495dec0ff0474 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 16 Nov 2006 06:40:37 +0000 Subject: Deprecate standalone components. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/components.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actionpack/lib/action_controller') diff --git a/actionpack/lib/action_controller/components.rb b/actionpack/lib/action_controller/components.rb index a7f5be2e6a..e6b0194647 100644 --- a/actionpack/lib/action_controller/components.rb +++ b/actionpack/lib/action_controller/components.rb @@ -80,6 +80,8 @@ module ActionController #:nodoc: self.template_root = path_of_controller_root end + + deprecate :uses_component_template_root => 'Components are deprecated and will be removed in Rails 2.0.' end module InstanceMethods -- cgit v1.2.3