X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ce829bcc7cead94384bfec1c6e120d1ddecd4fc1..ee411e5154cedd644fe54ccb29d64b6d18cb9bde:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index a60caeb2f..71af08b73 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -87,15 +87,16 @@ OpenStreetMap::Application.routes.draw do match '/user/:display_name/edits' => 'changeset#list' match '/user/:display_name/edits/feed' => 'changeset#feed', :format => :atom match '/browse/friends' => 'changeset#list', :friends => true + match '/browse/nearby' => 'changeset#list', :nearby => true match '/browse/changesets' => 'changeset#list' match '/browse/changesets/feed' => 'changeset#feed', :format => :atom match '/browse' => 'changeset#list' # web site - match '/' => 'site#index' + 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' @@ -154,6 +155,8 @@ OpenStreetMap::Application.routes.draw do # diary pages match '/diary/new' => 'diary_entry#new' + match '/diary/friends' => 'diary_entry#list', :friends => true + match '/diary/nearby' => 'diary_entry#list', :nearby => true 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