From: Tom Hughes Date: Tue, 15 Nov 2011 12:56:38 +0000 (+0000) Subject: Put changeset feeds before lists in the routes X-Git-Tag: live~6004 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/76c1371dcf4783b38dd9235b63a3121e08e6e20e?ds=inline Put changeset feeds before lists in the routes --- diff --git a/config/routes.rb b/config/routes.rb index 471f67e73..9ccb913cb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -84,10 +84,10 @@ OpenStreetMap::Application.routes.draw do match '/browse/relation/:id' => 'browse#relation', :id => /\d+/ match '/browse/relation/:id/history' => 'browse#relation_history', :id => /\d+/ match '/browse/changeset/:id' => 'browse#changeset', :as => :changeset, :id => /\d+/ - match '/user/:display_name/edits' => 'changeset#list' match '/user/:display_name/edits/feed' => 'changeset#list', :format => :atom - match '/browse/changesets' => 'changeset#list' + match '/user/:display_name/edits' => 'changeset#list' match '/browse/changesets/feed' => 'changeset#list', :format => :atom + match '/browse/changesets' => 'changeset#list' match '/browse' => 'changeset#list' # web site @@ -95,8 +95,8 @@ OpenStreetMap::Application.routes.draw do match '/edit' => 'site#edit' match '/copyright' => 'site#copyright' match '/copyright/:copyright_locale' => 'site#copyright' - match '/history' => 'changeset#list' match '/history/feed' => 'changeset#list', :format => :atom + match '/history' => 'changeset#list' match '/export' => 'site#export' match '/login' => 'user#login' match '/logout' => 'user#logout'