X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9c28a626cbefd289d17556747979bd73ee3a77cd..c00dd8c7125cdac05af2515d5563a35a252987b0:/app/controllers/changeset_controller.rb diff --git a/app/controllers/changeset_controller.rb b/app/controllers/changeset_controller.rb index 07a123bf8..5c4201354 100644 --- a/app/controllers/changeset_controller.rb +++ b/app/controllers/changeset_controller.rb @@ -246,8 +246,6 @@ class ChangesetController < ApplicationController end end - - ## # list edits (open changesets) in reverse chronological order def list @@ -269,6 +267,7 @@ class ChangesetController < ApplicationController @title = t 'user.no_such_user.title' @not_found_user = params[:display_name] render :template => 'user/no_such_user', :status => :not_found + return end end @@ -312,6 +311,14 @@ class ChangesetController < ApplicationController @edits = changesets.order("changesets.created_at DESC").offset((@page - 1) * @page_size).limit(@page_size).preload(:user, :changeset_tags) end + + render :action => :list + end + + ## + # list edits as an atom feed + def feed + list end private