- root :to => 'site#index'
- match '/edit' => 'site#edit'
- match '/copyright/:copyright_locale' => 'site#copyright'
- match '/copyright' => 'site#copyright'
- match '/history' => 'changeset#list'
- match '/history/feed' => 'changeset#feed', :format => :atom
- match '/export' => 'site#export'
- match '/login' => 'user#login'
- match '/logout' => 'user#logout'
- match '/offline' => 'site#offline'
- match '/key' => 'site#key'
- match '/user/new' => 'user#new'
- match '/user/terms' => 'user#terms'
- match '/user/save' => 'user#save'
- match '/user/:display_name/confirm/resend' => 'user#confirm_resend'
- match '/user/:display_name/confirm' => 'user#confirm'
- match '/user/confirm' => 'user#confirm'
- match '/user/confirm-email' => 'user#confirm_email'
- match '/user/go_public' => 'user#go_public'
- match '/user/reset-password' => 'user#reset_password'
- match '/user/forgot-password' => 'user#lost_password'
- match '/user/suspended' => 'user#suspended'
-
- match '/index.html' => 'site#index'
- match '/edit.html' => 'site#edit'
- match '/export.html' => 'site#export'
- match '/login.html' => 'user#login'
- match '/logout.html' => 'user#logout'
- match '/create-account.html' => 'user#new'
- match '/forgot-password.html' => 'user#lost_password'
+ root :to => 'site#index', :via => [:get, :post]
+ match '/edit' => 'site#edit', :via => :get, :as => :edit
+ match '/copyright/:copyright_locale' => 'site#copyright', :via => :get
+ match '/copyright' => 'site#copyright', :via => :get
+ match '/welcome' => 'site#welcome', :via => :get, :as => :welcome
+ match '/fixthemap' => 'site#fixthemap', :via => :get, :as => :fixthemap
+ match '/help' => 'site#help', :via => :get, :as => :help
+ match '/about' => 'site#about', :via => :get, :as => :about
+ match '/history' => 'changeset#list', :via => :get
+ match '/history/feed' => 'changeset#feed', :via => :get, :defaults => { :format => :atom }
+ match '/history/comments/feed' => 'changeset#comments_feed', :via => :get, :as => :changesets_comments_feed, :defaults => { :format => 'rss' }
+ match '/export' => 'site#export', :via => :get
+ match '/login' => 'user#login', :via => [:get, :post]
+ match '/logout' => 'user#logout', :via => [:get, :post]
+ match '/offline' => 'site#offline', :via => :get
+ match '/key' => 'site#key', :via => :get
+ match '/id' => 'site#id', :via => :get
+ match '/query' => 'browse#query', :via => :get
+ match '/user/new' => 'user#new', :via => :get
+ match '/user/new' => 'user#create', :via => :post
+ match '/user/terms' => 'user#terms', :via => :get
+ match '/user/save' => 'user#save', :via => :post
+ match '/user/:display_name/confirm/resend' => 'user#confirm_resend', :via => :get
+ match '/user/:display_name/confirm' => 'user#confirm', :via => [:get, :post]
+ match '/user/confirm' => 'user#confirm', :via => [:get, :post]
+ match '/user/confirm-email' => 'user#confirm_email', :via => [:get, :post]
+ match '/user/go_public' => 'user#go_public', :via => :post
+ match '/user/reset-password' => 'user#reset_password', :via => [:get, :post]
+ match '/user/forgot-password' => 'user#lost_password', :via => [:get, :post]
+ match '/user/suspended' => 'user#suspended', :via => :get
+
+ get '/index.html', :to => redirect(:path => "/")
+ get '/create-account.html', :to => redirect(:path => "/user/new")
+ get '/forgot-password.html', :to => redirect(:path => "/user/forgot-password")