This project is archived and is in readonly mode.

Changeset [d67e03871eabb912434dafac3eeb8e6ea7c5585f] by Pratik Naik

December 25th, 2008 @ 10:26 PM

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

Examples: # Instead of render(:template => 'controller/action') render('controller/action')

Note : Argument must not begin with a '/', but have at least one '/' 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>