Permalink
Browse files

Should be a symbol not string to defer the choice of layout.

[ci skip]
  • Loading branch information...
1 parent c9f7546 commit 6e0aafbba2300e78ecb8bf956dd5e90b6acf6b94 @limon limon committed Mar 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/layouts_and_rendering.md
@@ -363,7 +363,7 @@ You can use a symbol to defer the choice of layout until a request is processed:
```ruby
class ProductsController < ApplicationController
- layout "products_layout"
+ layout :products_layout
def show
@product = Product.find(params[:id])

0 comments on commit 6e0aafb

Please sign in to comment.