]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Use the map layout when rendering index for a remote edit
[rails.git] / app / controllers / changeset_controller.rb
index 5cd59c780ef8ab04dfb37cd66781970e9630b30d..d34eb873938f648bbb1e59b7575f283bf3aa6011 100644 (file)
@@ -268,7 +268,7 @@ class ChangesetController < ApplicationController
       return
     end
 
-    if request.format == :html and !params[:bbox]
+    if request.format == :html and !params[:list]
       require_oauth
       render :action => :history, :layout => map_layout
     else