mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Grammar fix in 3.2 Release Notes guide
Could also be worded 'as an option', but plural made more sense given the mention of ':handlers and :formats'.
This commit is contained in:
parent
3bcfa614af
commit
63bd01d82f
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ end
|
|||
|
||||
h5(#actionview_deprecations). Deprecations
|
||||
|
||||
* Passing formats or handlers to render :template and friends like <tt>render :template => "foo.html.erb"</tt> is deprecated. Instead, you can provide :handlers and :formats directly as an options: <tt> render :template => "foo", :formats => [:html, :js], :handlers => :erb</tt>.
|
||||
* Passing formats or handlers to render :template and friends like <tt>render :template => "foo.html.erb"</tt> is deprecated. Instead, you can provide :handlers and :formats directly as options: <tt> render :template => "foo", :formats => [:html, :js], :handlers => :erb</tt>.
|
||||
|
||||
h4. Sprockets
|
||||
|
||||
|
|
Loading…
Reference in a new issue