From: Tom Hughes Date: Wed, 15 Feb 2012 10:08:43 +0000 (+0000) Subject: Explicitly disable the layout for actions which don't want it X-Git-Tag: live~5847 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ac48c6a16f97ae20c0bbf33eb05d0c76efeff9b2 Explicitly disable the layout for actions which don't want it --- 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