diff options
| author | Pratik Naik <pratiknaik@gmail.com> | 2008-12-25 21:27:56 +0000 |
|---|---|---|
| committer | Pratik Naik <pratiknaik@gmail.com> | 2008-12-25 21:43:07 +0000 |
| commit | 061952392afd1dae1aa97a816e9a0c79df7c4514 (patch) | |
| tree | ce5599e69468632d5898ddb5088f0d729e4ddc91 /railties/doc/guides/html/testing_rails_applications.html | |
| parent | dd0753458f2a16c876c52734f84a242f56746607 (diff) | |
| download | rails-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/doc/guides/html/testing_rails_applications.html')
0 files changed, 0 insertions, 0 deletions
