Combine and refine third and sixth section

This commit is contained in:
John Firebaugh 2013-07-21 15:17:50 -07:00
parent 0effb12e4e
commit ef880621a4
5 changed files with 48 additions and 62 deletions

View file

@ -122,7 +122,7 @@ 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, :as => :welcome