]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Include the event type in the JSON output of a note
[rails.git] / app / controllers / changeset_controller.rb
index 495fcee975a276a885382a231de9e7fef840b38b..cfe86de51fd462842e075353c8044f6027205dbb 100644 (file)
@@ -332,9 +332,9 @@ class ChangesetController < ApplicationController
       @bbox = bbox
       
       @edits = changesets.order("changesets.created_at DESC").offset((@page - 1) * @page_size).limit(@page_size).preload(:user, :changeset_tags)
       @bbox = bbox
       
       @edits = changesets.order("changesets.created_at DESC").offset((@page - 1) * @page_size).limit(@page_size).preload(:user, :changeset_tags)
-    end
 
 
-    render :action => :list
+      render :action => :list
+    end
   end
 
   ##
   end
 
   ##