Implement track/index action for API

This commit is contained in:
Thibault Jouan
2012-05-03 21:11:03 +00:00
parent fc1ec120ae
commit 9b9e17e591
5 changed files with 77 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
Scube::Application.routes.draw do
namespace :api do
resources :sounds, :only => [:show]
resources :tracks, :only => [:index]
resources :playlists, :only => [:index, :create]
resources :sessions, :only => [:create]