2011-04-03 20:21:05 +04:00
|
|
|
Beathaven::Application.routes.draw do
|
2011-06-27 22:41:36 +04:00
|
|
|
match '/' => 'application#index'
|
2011-09-17 14:20:07 +04:00
|
|
|
match '/greetings/' => 'application#greetings'
|
2011-09-19 16:31:05 +04:00
|
|
|
match '/about/' => 'application#about'
|
2011-06-27 22:41:36 +04:00
|
|
|
|
2011-06-21 03:28:09 +04:00
|
|
|
match 'user/auth' => 'user#auth'
|
2011-06-22 03:29:18 +04:00
|
|
|
match 'user/update' => 'user#update'
|
|
|
|
|
2011-06-22 11:23:07 +04:00
|
|
|
match 'lastfm/connect' => 'last_fm#connect'
|
|
|
|
match 'lastfm/getinfo' => 'last_fm#getinfo'
|
2011-06-23 02:56:32 +04:00
|
|
|
match 'lastfm/listening' => 'last_fm#listening'
|
|
|
|
match 'lastfm/scrobble' => 'last_fm#scrobble'
|
2011-06-22 11:23:07 +04:00
|
|
|
|
2011-10-12 13:24:07 +04:00
|
|
|
match 'track/update_length' => 'track#update_length'
|
|
|
|
|
2011-09-10 03:30:03 +04:00
|
|
|
match 'settings' => 'user#settings'
|
|
|
|
|
2011-10-20 00:55:46 +04:00
|
|
|
match 'artist/autocomplete' => 'last_fm#autocomplete'
|
2011-06-16 03:06:46 +04:00
|
|
|
match 'artist/(:name)/' => 'artist#data', :constraints => { :name => /[^\/]*/ }
|
2011-04-03 20:21:05 +04:00
|
|
|
end
|