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:
parent
593a09d3b9
commit
1d802f1975
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue