diff options
author | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2013-12-14 22:49:00 +0530 |
---|---|---|
committer | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2013-12-14 22:49:00 +0530 |
commit | e10f91000be7e67e7fa6768088f381668d81be05 (patch) | |
tree | cc83d8b634d5607a6281c4376af46bdac2f8f100 /guides/source/layouts_and_rendering.md | |
parent | 068237d02f2ffa1cae6f83ab2dedf821e5455ee5 (diff) | |
download | rails-e10f91000be7e67e7fa6768088f381668d81be05.tar.gz rails-e10f91000be7e67e7fa6768088f381668d81be05.tar.bz2 rails-e10f91000be7e67e7fa6768088f381668d81be05.zip |
Improved documents [ci skip]
Diffstat (limited to 'guides/source/layouts_and_rendering.md')
-rw-r--r-- | guides/source/layouts_and_rendering.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/layouts_and_rendering.md b/guides/source/layouts_and_rendering.md index f4dab57aa5..c2d9772063 100644 --- a/guides/source/layouts_and_rendering.md +++ b/guides/source/layouts_and_rendering.md @@ -404,7 +404,7 @@ class ProductsController < ApplicationController end ``` -With this declaration, all of the views rendered by the products controller will use `app/views/layouts/inventory.html.erb` as their layout. +With this declaration, all of the views rendered by the `ProductsController` 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: |