X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e3c43e4a1a2e9ebec5bc163b689671d05311051f..d8b468e7a1a2c4c93c57cbf876c19e05aa7ad71a:/app/controllers/changesets_controller.rb diff --git a/app/controllers/changesets_controller.rb b/app/controllers/changesets_controller.rb index 3ea5fb64e..757664b58 100644 --- a/app/controllers/changesets_controller.rb +++ b/app/controllers/changesets_controller.rb @@ -18,6 +18,8 @@ class ChangesetsController < ApplicationController ## # list non-empty changesets in reverse chronological order def index + param! :max_id, Integer, :min => 1 + @params = params.permit(:display_name, :bbox, :friends, :nearby, :max_id, :list) if request.format == :atom && @params[:max_id]