]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Make sure all leaflet images are loaded through the asse pipeline
[rails.git] / app / controllers / changeset_controller.rb
index 34ca24762a9b42783d87cd86652929c4c5a6bca0..9a4271621af42fea234e38928ee28ee04bb720a4 100644 (file)
@@ -260,7 +260,7 @@ class ChangesetController < ApplicationController
           else
             changesets = changesets.where("false")
           end
           else
             changesets = changesets.where("false")
           end
-        elsif request.format == :html
+        else
           render_unknown_user params[:display_name]
           return
         end
           render_unknown_user params[:display_name]
           return
         end
@@ -328,8 +328,6 @@ class ChangesetController < ApplicationController
       @page = (params[:page] || 1).to_i
       @page_size = 20
 
       @page = (params[:page] || 1).to_i
       @page_size = 20
 
-      @bbox = bbox
-      
       @edits = changesets.order("changesets.created_at DESC").offset((@page - 1) * @page_size).limit(@page_size).preload(:user, :changeset_tags)
 
       render :action => :list
       @edits = changesets.order("changesets.created_at DESC").offset((@page - 1) * @page_size).limit(@page_size).preload(:user, :changeset_tags)
 
       render :action => :list