oldhaven/config/routes.rb

26 lines
876 B
Ruby
Raw Normal View History

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-10-24 14:15:00 +04:00
match '/stat/' => 'application#stat'
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
match 'track/update_length' => 'track#update_length'
2011-11-24 03:37:41 +04:00
match 'track/report' => 'track#report_unavailable'
2011-11-26 19:03:33 +04:00
match 'playlist/(:id)' => 'playlist#data'
2011-11-27 00:56:09 +04:00
match 'playlist/lastfm-top50/(:id)' => 'playlist#lastfm_top50'
2011-11-26 19:03:33 +04:00
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-11-24 02:12:15 +04:00
match 'artist/(:name)' => 'artist#data', :constraints => { :name => /.*/ }
2011-04-03 20:21:05 +04:00
end