This project is archived and is in readonly mode.

Changeset [061952392afd1dae1aa97a816e9a0c79df7c4514] 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...

Committed by Pratik Naik

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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>