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 [061952392afd1dae1aa97a816e9a0c79df7c4514] by Pratik Naik

Revision 061952392afd1dae1aa97a816e9a0c79df7c4514, committed by Pratik Naik · December 25th, 2008 @ 09:43 PM

Make ActionController#render(string) work as a shortcut for render :file => string. [#1435]

Examples: # Instead of render(:file => '/Users/lifo/home.html.erb') render('/Users/lifo/home.html.erb')

Note : Filename must begin with a forward slash ('/') http://github.com/rails/rails/co...

3 changed files

  • M actionpack/CHANGELOG
  • M actionpack/lib/action_controller/base.rb
  • M actionpack/test/controller/render_test.rb