22 lines
716 B
Ruby
22 lines
716 B
Ruby
Beathaven::Application.routes.draw do
|
|
match '/' => 'application#index'
|
|
match '/greetings/' => 'application#greetings'
|
|
match '/about/' => 'application#about'
|
|
match '/stat/' => 'application#stat'
|
|
|
|
match 'user/auth' => 'user#auth'
|
|
match 'user/update' => 'user#update'
|
|
|
|
match 'lastfm/connect' => 'last_fm#connect'
|
|
match 'lastfm/getinfo' => 'last_fm#getinfo'
|
|
match 'lastfm/listening' => 'last_fm#listening'
|
|
match 'lastfm/scrobble' => 'last_fm#scrobble'
|
|
|
|
match 'track/update_length' => 'track#update_length'
|
|
|
|
match 'settings' => 'user#settings'
|
|
|
|
match 'artist/autocomplete' => 'last_fm#autocomplete'
|
|
match 'artist/(:name)/' => 'artist#data', :constraints => { :name => /[^\/]*/ }
|
|
end
|