Changeset 3472
- Timestamp:
- 01/23/06 16:29:37 (3 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_controller/layout.rb (modified) (1 diff)
- trunk/actionpack/test/controller/new_render_test.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r3471 r3472 1 1 *SVN* 2 3 * Fix render(:update) to not render layouts. [Sam Stephenson] 2 4 3 5 * Fixed that SSL would not correctly be detected when running lighttpd/fcgi behind lighttpd w/mod_proxy #3548 [stephen_purcell@yahoo.com] trunk/actionpack/lib/action_controller/layout.rb
r3462 r3472 237 237 private 238 238 def apply_layout?(template_with_options, options) 239 return false if options == :update 239 240 template_with_options ? candidate_for_layout?(options) : !template_exempt_from_layout? 240 241 end trunk/actionpack/test/controller/new_render_test.rb
r3441 r3472 224 224 "render_js_with_explicit_template", 225 225 "render_js_with_explicit_action_template", 226 "delete_with_js" 226 "delete_with_js", "update_page" 227 227 228 228 "layouts/standard" … … 490 490 def test_update_page 491 491 get :update_page 492 assert_template nil 492 493 assert_equal 'text/javascript', @response.headers['Content-type'] 493 494 assert_equal 2, @response.body.split($/).length