diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2012-07-06 13:59:52 +0300 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2012-07-06 13:59:52 +0300 |
commit | 03dcdc317de7e63632da685255ca8b7f91bf5522 (patch) | |
tree | a843375ea5492c28cad64707d510c8c8a7e07534 /railties/guides/source | |
parent | c7afc42b2f346a8a7195213a4e8a682da13e7a3f (diff) | |
download | rails-03dcdc317de7e63632da685255ca8b7f91bf5522.tar.gz rails-03dcdc317de7e63632da685255ca8b7f91bf5522.tar.bz2 rails-03dcdc317de7e63632da685255ca8b7f91bf5522.zip |
Since Rails 3.2, use layout false to render no layout
Diffstat (limited to 'railties/guides/source')
-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 7e9194729e..5627b131ed 100644 --- a/railties/guides/source/layouts_and_rendering.textile +++ b/railties/guides/source/layouts_and_rendering.textile @@ -445,7 +445,7 @@ end <ruby> class OldPostsController < SpecialPostsController - layout nil + layout false def show @post = Post.find(params[:id]) |