Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [4461e86eaa69ecfbbca40488ff69bd21da97a21e] by Yehuda Katz

Revision 4461e86eaa69ecfbbca40488ff69bd21da97a21e, committed by Yehuda Katz · August 12th, 2009 @ 07:43 AM

More cleanup of ActionView and reduction in need for blocks in some cases:

  • only one of partial_name or :as will be available as a local
  • object is removed
  • Simplify _layout_for in most cases.

9 changed files

  • R actionpack/test/fixtures/test/using_layout_around_block_with_args.html.erb
  • M actionpack/lib/action_view/render/partials.rb
  • M actionpack/lib/action_view/render/rendering.rb
  • M actionpack/lib/action_view/template/handler.rb
  • M actionpack/lib/action_view/template/template.rb
  • M actionpack/test/controller/render_test.rb
  • M actionpack/test/fixtures/test/_customer_with_var.erb
  • M actionpack/test/fixtures/test/_hash_object.erb
  • M actionpack/test/template/render_test.rb