X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0465fda75a244123ae35e6ca34f9e1fff4232efa..5564bcabbfc5db4b790a340e49155b864ec9c8cd:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 267de7956..89f7e1951 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' @@ -160,6 +160,8 @@ OpenStreetMap::Application.routes.draw do match '/user/:display_name/diary/rss' => 'diary_entry#rss', :format => :rss match '/diary/:language/rss' => 'diary_entry#rss', :format => :rss match '/diary/rss' => 'diary_entry#rss', :format => :rss + match '/user/:display_name/diary/comments/:page' => 'diary_entry#comments', :page => /\d+/ + match '/user/:display_name/diary/comments/' => 'diary_entry#comments' match '/user/:display_name/diary' => 'diary_entry#list' match '/diary/:language' => 'diary_entry#list' match '/diary' => 'diary_entry#list'