mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Since Rails 3.2, use layout false to render no layout
This commit is contained in:
@@ -445,7 +445,7 @@ end
|
||||
|
||||
<ruby>
|
||||
class OldPostsController < SpecialPostsController
|
||||
layout nil
|
||||
layout false
|
||||
|
||||
def show
|
||||
@post = Post.find(params[:id])
|
||||
|
||||
Reference in New Issue
Block a user