]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Update Potlatch 2 to 2.3-603-gebdfa12 build
[rails.git] / config / routes.rb
index cf0bfd3244ec47d2f55f23d6bd3b288f3bc82577..0168b6190b3b00f3e213ac2a103a3b87c09594b4 100644 (file)
@@ -122,10 +122,10 @@ OpenStreetMap::Application.routes.draw do
 
   # web site
   root :to => 'site#index', :via => [:get, :post]
-  match '/edit' => 'site#edit', :via => :get
+  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
+  match '/welcome' => 'site#welcome', :via => :get, :as => :welcome
   match '/history' => 'changeset#list', :via => :get
   match '/history/feed' => 'changeset#feed', :via => :get, :format => :atom
   match '/export' => 'site#index', :export => true, :via => :get