From ac48c6a16f97ae20c0bbf33eb05d0c76efeff9b2 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 15 Feb 2012 10:08:43 +0000 Subject: [PATCH] Explicitly disable the layout for actions which don't want it --- app/controllers/site_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index f0c686c9f..cf4465b9c 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -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 -- 2.43.2