X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c807e9ba66af36280597594a48767c8562a9451b..6baccfaddd190d730b626204e9cf81c2504995bf:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index a998df16e..8e9b01bf9 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -116,6 +116,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'