Permalink
Browse files

Merge branch 'master' of github.com:lifo/docrails

  • Loading branch information...
2 parents a3a73c4 + 3689b57 commit d4b35934d173fca4fad54ca8e88d1366462b2432 @timsly timsly committed Feb 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/layouts_and_rendering.textile
@@ -359,7 +359,7 @@ class ProductsController < ApplicationController
end
</ruby>
-With this declaration, all of the methods within +ProductsController+ will use +app/views/layouts/inventory.html.erb+ for their layout.
+With this declaration, all of the views belonging to controller, +ProductsController+ will use +app/views/layouts/inventory.html.erb+ for their layout.
To assign a specific layout for the entire application, use a +layout+ declaration in your +ApplicationController+ class:

0 comments on commit d4b3593

Please sign in to comment.