Put pretty route for /copyright/locale first

This commit is contained in:
Tom Hughes 2012-02-14 11:53:44 +00:00
parent 73b8e6f0ad
commit 3121d1b5a0

View file

@ -95,8 +95,8 @@ OpenStreetMap::Application.routes.draw do
# web site
root :to => 'site#index'
match '/edit' => 'site#edit'
match '/copyright' => 'site#copyright'
match '/copyright/:copyright_locale' => 'site#copyright'
match '/copyright' => 'site#copyright'
match '/history' => 'changeset#list'
match '/history/feed' => 'changeset#feed', :format => :atom
match '/export' => 'site#export'