scube-server/config/routes.rb
Thibault Jouan 27550fd14e Save track files in new Sound model:
* Consolidate migrations
* Add Sound model. Each sound can belong to a track and contains
  informations about one sound file.
2011-09-20 17:43:20 +00:00

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