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-11-29 23:08:00 +00:00
|
|
|
match 'user/set_first_favorites' => 'user#set_first_favorites'
|
2011-06-21 23:29:18 +00:00
|
|
|
|
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-12-01 06:09:18 +00:00
|
|
|
match 'track/report_available' => 'track#report_available'
|
2011-10-12 09:24:07 +00:00
|
|
|
|
2011-11-26 15:03:33 +00:00
|
|
|
match 'playlist/(:id)' => 'playlist#data'
|
2011-11-27 13:01:46 +00:00
|
|
|
match 'playlist/lastfm-top50/(:artist)' => 'playlist#lastfm_top50', constraints: { artist: /.*/ }
|
2011-11-26 15:03:33 +00:00
|
|
|
|
2011-10-19 20:55:46 +00:00
|
|
|
match 'artist/autocomplete' => 'last_fm#autocomplete'
|
2011-11-27 13:01:46 +00:00
|
|
|
match 'artist/(:artist)' => 'artist#data', constraints: { artist: /.*/ }
|
2011-11-30 08:54:40 +00:00
|
|
|
|
|
|
|
match 'search' => 'artist#search'
|
2011-04-03 16:21:05 +00:00
|
|
|
end
|