aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-12-25 21:27:56 +0000
committerPratik Naik <pratiknaik@gmail.com>2008-12-25 21:43:07 +0000
commit061952392afd1dae1aa97a816e9a0c79df7c4514 (patch)
treece5599e69468632d5898ddb5088f0d729e4ddc91 /railties
parentdd0753458f2a16c876c52734f84a242f56746607 (diff)
downloadrails-061952392afd1dae1aa97a816e9a0c79df7c4514.tar.gz
rails-061952392afd1dae1aa97a816e9a0c79df7c4514.tar.bz2
rails-061952392afd1dae1aa97a816e9a0c79df7c4514.zip
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 ('/')
Diffstat (limited to 'railties')
0 files changed, 0 insertions, 0 deletions