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
|
class SiteController < ApplicationController
|
||||||
layout 'site', :except => [:key, :permalink]
|
layout 'site', :except => [:key, :permalink]
|
||||||
|
layout false, :only => [:key, :permalink]
|
||||||
|
|
||||||
before_filter :authorize_web
|
before_filter :authorize_web
|
||||||
before_filter :set_locale
|
before_filter :set_locale
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue