Railsify the box link on the browse changeset page
This removes the whitespace in the url, and makes the root path a named route so that it can be nicely referenced.
This commit is contained in:
parent
3369743d6c
commit
0465fda75a
2 changed files with 2 additions and 3 deletions
|
@ -93,7 +93,7 @@ OpenStreetMap::Application.routes.draw do
|
|||
match '/browse' => 'changeset#list'
|
||||
|
||||
# web site
|
||||
match '/' => 'site#index'
|
||||
root :to => 'site#index'
|
||||
match '/edit' => 'site#edit'
|
||||
match '/copyright' => 'site#copyright'
|
||||
match '/copyright/:copyright_locale' => 'site#copyright'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue