Block max_id for changeset feeds instead of page which is no longer used

This commit is contained in:
Tom Hughes 2013-11-24 17:02:38 +00:00
parent 272a708b0f
commit 686aae7732

View 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