From: Tom Hughes Date: Tue, 14 Feb 2012 11:53:44 +0000 (+0000) Subject: Put pretty route for /copyright/locale first X-Git-Tag: live~5830 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/3121d1b5a09a11791ecb002a53f415d3bfaf5a8d Put pretty route for /copyright/locale first --- diff --git a/config/routes.rb b/config/routes.rb index 267de7956..71af08b73 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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'