This project is archived and is in readonly mode.
Changeset [d67e03871eabb912434dafac3eeb8e6ea7c5585f] by Pratik Naik
Revision d67e03871eabb912434dafac3eeb8e6ea7c5585f,
committed 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...
3 changed files
-
M
actionpack/CHANGELOG -
M
actionpack/lib/action_controller/base.rb -
M
actionpack/test/controller/render_test.rb