Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 92ffc25ea8
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (23 sloc) 0.565 kB
Jukebox2::Application.routes.draw do
resources :artists do
post :merge, :on => :collection
get :toggle_favorite, :on => :member
get :update_metadata, :on => :member
resources :tracks
end
resources :tracks do
get :play, :on => :member
get :toggle_favorite, :on => :member
end
resources :releases do
get :toggle_favorite, :on => :member
resources :tracks
end
resources :sources do
get :reindex, :on => :collection
end
resources :playlists do
resources :tracks
end
root :to => "frontpage#index"
end
Jump to Line
Something went wrong with that request. Please try again.