]> git.openstreetmap.org Git - rails.git/commitdiff
Block max_id for changeset feeds instead of page which is no longer used
authorTom Hughes <tom@compton.nu>
Sun, 24 Nov 2013 17:02:38 +0000 (17:02 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 24 Nov 2013 17:02:38 +0000 (17:02 +0000)
app/controllers/changeset_controller.rb

index e0facfa932fc234580b17aba5fa16594639dbe9d..b880f3aa35de9cfd83b642be4587d1a93478f452 100644 (file)
@@ -250,8 +250,8 @@ class ChangesetController < ApplicationController
   ##
   # list edits (open changesets) in reverse chronological order
   def list
-    if request.format == :atom and params[:page]
-      redirect_to params.merge({ :page => nil }), :status => :moved_permanently
+    if request.format == :atom and params[:max_id]
+      redirect_to params.merge({ :max_id => nil }), :status => :moved_permanently
       return
     end