Implement API sounds/create

This commit is contained in:
Thibault Jouan
2015-05-06 06:28:02 +00:00
parent b8d25dc918
commit 54ae036adc
3 changed files with 54 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ Rails.application.routes.draw do
match '*all', to: 'application#cor_preflight', via: :options
resources :playlists, only: %i[index show create update destroy]
resources :sessions, only: :create
resources :sounds, only: :show
resources :sounds, only: %i[show create]
resources :tracks, only: %i[index show]
match '*all', to: 'application#not_found', via: :all
end