1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

copy edits [ci skip]

This commit is contained in:
Vijay Dev 2012-02-28 18:58:30 +05:30
parent 593a09d3b9
commit 1d802f1975

View file

@ -359,7 +359,7 @@ class ProductsController < ApplicationController
end end
</ruby> </ruby>
With this declaration, all of the views belonging to controller, +ProductsController+ will use +app/views/layouts/inventory.html.erb+ for their layout. With this declaration, all of the views rendered by the products controller will use +app/views/layouts/inventory.html.erb+ as their layout.
To assign a specific layout for the entire application, use a +layout+ declaration in your +ApplicationController+ class: To assign a specific layout for the entire application, use a +layout+ declaration in your +ApplicationController+ class: