Organizing misc pages
This commit is contained in:
+5
-5
@@ -1,8 +1,8 @@
|
||||
Beathaven::Application.routes.draw do
|
||||
match '/' => 'application#index'
|
||||
match '/greetings/' => 'application#greetings'
|
||||
match '/about/' => 'application#about'
|
||||
match '/stat/' => 'application#stat'
|
||||
match '/' => 'page#index'
|
||||
match '/greetings/' => 'page#greetings'
|
||||
match '/about/' => 'page#about'
|
||||
match '/stat/' => 'page#stat'
|
||||
|
||||
match 'user/auth' => 'user#auth'
|
||||
match 'user/update' => 'user#update'
|
||||
@@ -21,5 +21,5 @@ Beathaven::Application.routes.draw do
|
||||
match 'settings' => 'user#settings'
|
||||
|
||||
match 'artist/autocomplete' => 'last_fm#autocomplete'
|
||||
match 'artist/(:name)' => 'artist#data', :constraints => { :name => /.*/ }
|
||||
match 'artist/(:name)' => 'artist#data', constraints: { name: /.*/ }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user