From a51b4c869ec767521de3332d5e2bd3541d79e7c5 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 5 Dec 2013 10:40:07 +0000 Subject: [PATCH] Use the map layout when rendering index for a remote edit --- app/controllers/site_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 1f33b067b..2f5a9a494 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -42,7 +42,7 @@ class SiteController < ApplicationController if editor == "remote" require_oauth - render :action => :index + render :action => :index, :layout => map_layout return end -- 2.43.2