Implement track/index action for API

This commit is contained in:
Thibault Jouan
2012-03-19 19:16:20 +00:00
parent fc1ec120ae
commit 9b9e17e591
5 changed files with 77 additions and 0 deletions

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]