X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e3f37d98722af2dfb6cc121f3232c16be9eb65fd..4bbd4d233b2b839cdd6f7be265992e36ed433956:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index b410c2b90..6dd3860dc 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -114,6 +114,9 @@ ActionController::Routing::Routes.draw do |map| map.connect '/create-account.html', :controller => 'user', :action => 'new' map.connect '/forgot-password.html', :controller => 'user', :action => 'lost_password' + # permalink + map.connect '/go/:code', :controller => 'site', :action => 'permalink', :code => /[a-zA-Z0-9_@]+=*/ + # traces map.connect '/traces', :controller => 'trace', :action => 'list' map.connect '/traces/page/:page', :controller => 'trace', :action => 'list'