* Consolidate migrations * Add Sound model. Each sound can belong to a track and contains informations about one sound file.
16 lines
288 B
Ruby
16 lines
288 B
Ruby
Scube::Application.routes.draw do
|
|
resources :sounds, :only => [:show]
|
|
|
|
resources :users, :only => [:new, :create]
|
|
|
|
resources :sessions, :only => [:new, :create]
|
|
|
|
resources :tracks do
|
|
get 'download', :on => :member
|
|
end
|
|
|
|
resources :playlists
|
|
|
|
root :to => 'home#index'
|
|
end
|