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