Organizing misc pages

This commit is contained in:
magnolia-fan
2011-11-27 12:41:28 +04:00
parent 6fa215cb2a
commit 8cf69faf32
12 changed files with 39 additions and 24 deletions
+5 -5
View File
@@ -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