提交 1d802f19 编写于 作者: V Vijay Dev

copy edits [ci skip]

上级 593a09d3
......@@ -359,7 +359,7 @@ class ProductsController < ApplicationController
end
</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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册