Changeset 5536
- Timestamp:
- 11/16/06 06:40:37 (2 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_controller/components.rb (modified) (1 diff)
- trunk/actionpack/test/controller/components_test.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r5525 r5536 1 1 *SVN* 2 3 * Deprecate standalone components. [Jeremy Kemper] 2 4 3 5 * assert_select_rjs :remove. [Dylan Egan] trunk/actionpack/lib/action_controller/components.rb
r5207 r5536 81 81 self.template_root = path_of_controller_root 82 82 end 83 84 deprecate :uses_component_template_root => 'Components are deprecated and will be removed in Rails 2.0.' 83 85 end 84 86 trunk/actionpack/test/controller/components_test.rb
r4715 r5536 144 144 class UsesComponentTemplateRootTest < Test::Unit::TestCase 145 145 def test_uses_component_template_root 146 assert_equal './test/fixtures/', A::B::C::NestedController.uses_component_template_root 146 assert_deprecated 'uses_component_template_root' do 147 assert_equal './test/fixtures/', A::B::C::NestedController.uses_component_template_root 148 end 147 149 end 148 150 end