Explicitly disable the layout for actions which don't want it
This commit is contained in:
parent
574407e2ba
commit
ac48c6a16f
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
class SiteController < ApplicationController
|
||||
layout 'site', :except => [:key, :permalink]
|
||||
layout false, :only => [:key, :permalink]
|
||||
|
||||
before_filter :authorize_web
|
||||
before_filter :set_locale
|
||||
|
|
Loading…
Add table
Reference in a new issue