Permalink
Browse files

Since Rails 3.2, use layout false to render no layout

  • Loading branch information...
1 parent c7afc42 commit 03dcdc317de7e63632da685255ca8b7f91bf5522 @josevalim josevalim committed Jul 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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])

0 comments on commit 03dcdc3

Please sign in to comment.