Explicitly disable the layout for actions which don't want it

This commit is contained in:
Tom Hughes 2012-02-15 10:08:43 +00:00
parent 574407e2ba
commit ac48c6a16f

View file

@ -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