+ # traces
+ map.connect '/traces', :controller => 'trace', :action => 'list'
+ map.connect '/traces/page/:page', :controller => 'trace', :action => 'list'
+ 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/mine/tag/:tag/page/:page', :controller => 'trace', :action => 'mine'
+ map.connect '/traces/rss', :controller => 'trace', :action => 'georss'
+ map.connect '/user/:display_name/traces', :controller => 'trace', :action => 'list', :id => nil
+ map.connect '/user/:display_name/traces/page/:page', :controller => 'trace', :action => 'list', :id => nil
+ map.connect '/user/:display_name/traces/:id', :controller => 'trace', :action => 'view', :id => nil
+ map.connect '/user/:display_name/traces/:id/picture', :controller => 'trace', :action => 'picture', :id => nil
+ map.connect '/user/:display_name/traces/:id/icon', :controller => 'trace', :action => 'icon', :id => nil
+ map.connect '/traces/tag/:tag', :controller => 'trace', :action => 'list', :id => nil
+ map.connect '/traces/tag/:tag/page/:page', :controller => 'trace', :action => 'list', :id => nil
+
+ # user pages
+
+ map.connect '/user/:display_name', :controller => 'user', :action => 'view'
+ map.connect '/user/:display_name/diary', :controller => 'diary', :action => 'view'
+ map.connect '/user/:display_name/edit', :controller => 'user', :action => 'edit'
+ map.connect '/user/:display_name/account', :controller => 'user', :action => 'account'
+
+ # test pages
+ map.connect '/test/populate/:table/:from/:count', :controller => 'test', :action => 'populate'
+ map.connect '/test/populate/:table/:count', :controller => 'test', :action => 'populate', :from => 1
+
+ # fall through
+ map.connect ':controller/:id/:action'
+ map.connect ':controller/:action'