Put changeset feeds before lists in the routes

This commit is contained in:
Tom Hughes 2011-11-15 12:56:38 +00:00
parent c61d24f08e
commit 76c1371dcf

View file

@ -84,10 +84,10 @@ OpenStreetMap::Application.routes.draw do
match '/browse/relation/:id' => 'browse#relation', :id => /\d+/ match '/browse/relation/:id' => 'browse#relation', :id => /\d+/
match '/browse/relation/:id/history' => 'browse#relation_history', :id => /\d+/ match '/browse/relation/:id/history' => 'browse#relation_history', :id => /\d+/
match '/browse/changeset/:id' => 'browse#changeset', :as => :changeset, :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 '/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/feed' => 'changeset#list', :format => :atom
match '/browse/changesets' => 'changeset#list'
match '/browse' => 'changeset#list' match '/browse' => 'changeset#list'
# web site # web site
@ -95,8 +95,8 @@ OpenStreetMap::Application.routes.draw do
match '/edit' => 'site#edit' match '/edit' => 'site#edit'
match '/copyright' => 'site#copyright' match '/copyright' => 'site#copyright'
match '/copyright/:copyright_locale' => 'site#copyright' match '/copyright/:copyright_locale' => 'site#copyright'
match '/history' => 'changeset#list'
match '/history/feed' => 'changeset#list', :format => :atom match '/history/feed' => 'changeset#list', :format => :atom
match '/history' => 'changeset#list'
match '/export' => 'site#export' match '/export' => 'site#export'
match '/login' => 'user#login' match '/login' => 'user#login'
match '/logout' => 'user#logout' match '/logout' => 'user#logout'