2011-04-03 16:21:05 +00:00
|
|
|
Beathaven::Application.routes.draw do
|
2011-11-27 08:41:28 +00:00
|
|
|
match '/' => 'page#index'
|
|
|
|
match '/greetings/' => 'page#greetings'
|
|
|
|
match '/about/' => 'page#about'
|
|
|
|
match '/stat/' => 'page#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-11-23 23:37:41 +00:00
|
|
|
match 'track/report' => 'track#report_unavailable'
|
2011-10-12 09:24:07 +00:00
|
|
|
|
2011-11-26 15:03:33 +00:00
|
|
|
match 'playlist/(:id)' => 'playlist#data'
|
2011-11-26 20:56:09 +00:00
|
|
|
match 'playlist/lastfm-top50/(:id)' => 'playlist#lastfm_top50'
|
2011-11-26 15:03:33 +00:00
|
|
|
|
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-27 08:41:28 +00:00
|
|
|
match 'artist/(:name)' => 'artist#data', constraints: { name: /.*/ }
|
2011-04-03 16:21:05 +00:00
|
|
|
end
|