Changeset 5248
- Timestamp:
- 10/09/06 00:56:13 (2 years ago)
- Files:
-
- trunk/actionpack/lib/action_controller/caching.rb (modified) (1 diff)
- trunk/actionpack/test/controller/action_caching_test.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/lib/action_controller/caching.rb
r5212 r5248 211 211 if extention = action_cache_path.extension 212 212 content_type = Mime::EXTENSION_LOOKUP[extention] 213 action_cache_path.controller. content_type = content_type.to_s213 action_cache_path.controller.response.content_type = content_type.to_s 214 214 end 215 215 end trunk/actionpack/test/controller/action_caching_test.rb
r4656 r5248 122 122 end 123 123 124 def test_file_extensions 125 get :index, :id => 'kitten.jpg' 126 get :index, :id => 'kitten.jpg' 127 128 assert_response :success 129 end 130 124 131 private 125 132