Implement sessions/create in JSON API
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user