1
0
Fork 0
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:
Tim Harvey 2012-04-11 17:10:21 -03:00
parent 3bcfa614af
commit 63bd01d82f

View file

@ -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