diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-02-28 18:58:30 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-02-28 18:58:30 +0530 |
commit | 1d802f19751181d005d0b86ae75f4ba16fc37e47 (patch) | |
tree | f135a26216ed3d458a971b7d224eb6753db01b99 /railties/guides/source/layouts_and_rendering.textile | |
parent | 593a09d3b9aea53be5e56006c1be140091674db7 (diff) | |
download | rails-1d802f19751181d005d0b86ae75f4ba16fc37e47.tar.gz rails-1d802f19751181d005d0b86ae75f4ba16fc37e47.tar.bz2 rails-1d802f19751181d005d0b86ae75f4ba16fc37e47.zip |
copy edits [ci skip]
Diffstat (limited to 'railties/guides/source/layouts_and_rendering.textile')
-rw-r--r-- | railties/guides/source/layouts_and_rendering.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/layouts_and_rendering.textile b/railties/guides/source/layouts_and_rendering.textile index 1943fa185e..4b4f9f3745 100644 --- a/railties/guides/source/layouts_and_rendering.textile +++ b/railties/guides/source/layouts_and_rendering.textile @@ -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: |