]> git.openstreetmap.org Git - rails.git/commitdiff
Use the map layout when rendering index for a remote edit
authorTom Hughes <tom@compton.nu>
Thu, 5 Dec 2013 10:40:07 +0000 (10:40 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 5 Dec 2013 10:40:07 +0000 (10:40 +0000)
app/controllers/site_controller.rb

index 1f33b067bc3db3301161ff6943a622a7e5f0f05a..2f5a9a494c61aa8e6da2dd2e925136c3ebb56c00 100644 (file)
@@ -42,7 +42,7 @@ class SiteController < ApplicationController
 
     if editor == "remote"
       require_oauth
-      render :action => :index
+      render :action => :index, :layout => map_layout
       return
     end