Skip to content

Commit

Permalink
Since Rails 3.2, use layout false to render no layout
Browse files Browse the repository at this point in the history
  • Loading branch information
José Valim committed Jul 6, 2012
1 parent c7afc42 commit 03dcdc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/layouts_and_rendering.textile
Expand Up @@ -445,7 +445,7 @@ end

<ruby>
class OldPostsController < SpecialPostsController
layout nil
layout false

def show
@post = Post.find(params[:id])
Expand Down

0 comments on commit 03dcdc3

Please sign in to comment.