X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/61bb31ebdddc9e7c317a1c6784a68874d5a0ef80..42b329ed82c7899b970e1f0fd8d6d29fd625f7d5:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index d110472bf..500a9b13c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -162,9 +162,9 @@ OpenStreetMap::Application.routes.draw do match '/user/forgot-password' => 'user#lost_password', :via => [:get, :post] match '/user/suspended' => 'user#suspended', :via => :get - match '/index.html' => 'site#index', :via => :get - match '/create-account.html' => 'user#new', :via => :get - match '/forgot-password.html' => 'user#lost_password', :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") # permalink match '/go/:code' => 'site#permalink', :via => :get, :code => /[a-zA-Z0-9_@~]+[=-]*/