From: Tom Hughes Date: Thu, 5 Dec 2013 10:40:07 +0000 (+0000) Subject: Use the map layout when rendering index for a remote edit X-Git-Tag: live~4595 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/a51b4c869ec767521de3332d5e2bd3541d79e7c5 Use the map layout when rendering index for a remote edit --- 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