map.connect '/browse/relation/:id', :controller => 'browse', :action => 'relation', :id => /\d+/
map.connect '/browse/relation/:id/history', :controller => 'browse', :action => 'relation_history', :id => /\d+/
map.connect '/browse/changeset/:id', :controller => 'browse', :action => 'changeset', :id => /\d+/
- map.connect '/browse/changesets', :controller => 'changeset', :action => 'list'
- map.connect '/browse/changesets/rss', :controller => 'changeset', :action => 'list_rss'
+ map.connect '/browse/changesets', :controller => 'changeset', :action => 'list', :format => 'rhtml'
+ map.connect '/browse/changesets/rss', :controller => 'changeset', :action => 'list', :format => 'rxml'
# web site
map.root :controller => 'site', :action => 'index'
map.connect '/', :controller => 'site', :action => 'index'
map.connect '/edit', :controller => 'site', :action => 'edit'
- map.connect '/history', :controller => 'changeset', :action => 'list_bbox'
- map.connect '/history/rss', :controller => 'changeset', :action => 'list_bbox_rss'
+ map.connect '/history', :controller => 'changeset', :action => 'list_bbox', :format => 'rhtml'
+ map.connect '/history/rss', :controller => 'changeset', :action => 'list_bbox', :format => 'rxml'
map.connect '/export', :controller => 'site', :action => 'export'
map.connect '/login', :controller => 'user', :action => 'login'
map.connect '/logout', :controller => 'user', :action => 'logout'
# user pages
map.connect '/user/:display_name', :controller => 'user', :action => 'view'
- map.connect '/user/:display_name/edits', :controller => 'changeset', :action => 'list_user'
- map.connect '/user/:display_name/edits/rss', :controller => 'changeset', :action => 'list_user_rss'
+ map.connect '/user/:display_name/edits', :controller => 'changeset', :action => 'list_user', :format => 'rhtml'
+ map.connect '/user/:display_name/edits/rss', :controller => 'changeset', :action => 'list_user', :format => 'rxml'
map.connect '/user/:display_name/make_friend', :controller => 'user', :action => 'make_friend'
map.connect '/user/:display_name/remove_friend', :controller => 'user', :action => 'remove_friend'
map.connect '/user/:display_name/diary', :controller => 'diary_entry', :action => 'list'