Implement sessions/create in JSON API

This commit is contained in:
Thibault Jouan
2012-02-26 11:16:52 +00:00
parent 499b06c9e5
commit 5dfafdcc46
6 changed files with 103 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ Scube::Application.routes.draw do
namespace :api do
namespace :v0 do
resources :playlists, :only => [:index]
resources :sessions, :only => [:create]
end
match '*all' => 'application#cor_preflight', :via => :options