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'
- map.connect '/traces/rss', :controller => 'trace', :action => 'georss'
- map.connect '/traces/tag/:tag', :controller => 'trace', :action => 'list'
+ map.connect '/user/:display_name/traces/tag/:tag/page/:page', :controller => 'trace', :action => 'list'
+ map.connect '/user/:display_name/traces/tag/:tag', :controller => 'trace', :action => 'list'
+ map.connect '/user/:display_name/traces/page/:page', :controller => 'trace', :action => 'list'
+ map.connect '/user/:display_name/traces', :controller => 'trace', :action => 'list'
+ map.connect '/user/:display_name/traces/tag/:tag/rss', :controller => 'trace', :action => 'georss'
+ map.connect '/user/:display_name/traces/rss', :controller => 'trace', :action => 'georss'
+ map.connect '/user/:display_name/traces/:id', :controller => 'trace', :action => 'view'
+ map.connect '/user/:display_name/traces/:id/picture', :controller => 'trace', :action => 'picture'
+ map.connect '/user/:display_name/traces/:id/icon', :controller => 'trace', :action => 'icon'
map.connect '/traces/tag/:tag/page/:page', :controller => 'trace', :action => 'list'
+ map.connect '/traces/tag/:tag', :controller => 'trace', :action => 'list'
+ map.connect '/traces/page/:page', :controller => 'trace', :action => 'list'
+ map.connect '/traces', :controller => 'trace', :action => 'list'
map.connect '/traces/tag/:tag/rss', :controller => 'trace', :action => 'georss'
- map.connect '/traces/mine', :controller => 'trace', :action => 'mine'
- map.connect '/traces/mine/page/:page', :controller => 'trace', :action => 'mine'
- map.connect '/traces/mine/tag/:tag', :controller => 'trace', :action => 'mine'
+ map.connect '/traces/rss', :controller => 'trace', :action => 'georss'
map.connect '/traces/mine/tag/:tag/page/:page', :controller => 'trace', :action => 'mine'
+ map.connect '/traces/mine/tag/:tag', :controller => 'trace', :action => 'mine'
+ map.connect '/traces/mine/page/:page', :controller => 'trace', :action => 'mine'
+ map.connect '/traces/mine', :controller => 'trace', :action => 'mine'
map.connect '/trace/create', :controller => 'trace', :action => 'create'
map.connect '/trace/:id/data', :controller => 'trace', :action => 'data'
map.connect '/trace/:id/data.:format', :controller => 'trace', :action => 'data'
map.connect '/trace/:id/edit', :controller => 'trace', :action => 'edit'
map.connect '/trace/:id/delete', :controller => 'trace', :action => 'delete'
- map.connect '/user/:display_name/traces', :controller => 'trace', :action => 'list'
- map.connect '/user/:display_name/traces/page/:page', :controller => 'trace', :action => 'list'
- map.connect '/user/:display_name/traces/rss', :controller => 'trace', :action => 'georss'
- map.connect '/user/:display_name/traces/tag/:tag', :controller => 'trace', :action => 'list'
- map.connect '/user/:display_name/traces/tag/:tag/page/:page', :controller => 'trace', :action => 'list'
- map.connect '/user/:display_name/traces/tag/:tag/rss', :controller => 'trace', :action => 'georss'
- map.connect '/user/:display_name/traces/:id', :controller => 'trace', :action => 'view'
- map.connect '/user/:display_name/traces/:id/picture', :controller => 'trace', :action => 'picture'
- map.connect '/user/:display_name/traces/:id/icon', :controller => 'trace', :action => 'icon'
# user pages
map.connect '/user/:display_name', :controller => 'user', :action => 'view'