Skip to content
This repository
Browse code

Since Rails 3.2, use layout false to render no layout

  • Loading branch information...
commit 03dcdc317de7e63632da685255ca8b7f91bf5522 1 parent c7afc42
José Valim josevalim authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  railties/guides/source/layouts_and_rendering.textile
2  railties/guides/source/layouts_and_rendering.textile
Source Rendered
@@ -445,7 +445,7 @@ end
445 445
446 446 <ruby>
447 447 class OldPostsController < SpecialPostsController
448   - layout nil
  448 + layout false
449 449
450 450 def show
451 451 @post = Post.find(params[:id])

0 comments on commit 03dcdc3

Please sign in to comment.
Something went wrong with that request. Please try again.