X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/afce15dd86d855381c78d4d31b4baba4db4ce152..8a9c7cc00c955ad9547e27df42d709fa286bc15c:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 4b1161012..b410c2b90 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -93,6 +93,7 @@ ActionController::Routing::Routes.draw do |map| map.connect '/login', :controller => 'user', :action => 'login' map.connect '/logout', :controller => 'user', :action => 'logout' map.connect '/offline', :controller => 'site', :action => 'offline' + map.connect '/key', :controller => 'site', :action => 'key' map.connect '/user/new', :controller => 'user', :action => 'new' map.connect '/user/save', :controller => 'user', :action => 'save' map.connect '/user/confirm', :controller => 'user', :action => 'confirm' @@ -175,7 +176,7 @@ ActionController::Routing::Routes.draw do |map| map.connect '/user/:display_name/inbox', :controller => 'message', :action => 'inbox' map.connect '/user/:display_name/outbox', :controller => 'message', :action => 'outbox' - map.connect '/message/new/:user_id', :controller => 'message', :action => 'new' + map.connect '/message/new/:display_name', :controller => 'message', :action => 'new' map.connect '/message/read/:message_id', :controller => 'message', :action => 'read' map.connect '/message/mark/:message_id', :controller => 'message', :action => 'mark' map.connect '/message/reply/:message_id', :controller => 'message', :action => 'reply'