Adding POST /api/v1/reports API, and a UI for submitting reports

This commit is contained in:
Eugen Rochko
2017-02-14 20:59:26 +01:00
parent 40a4053732
commit 3b81baaaaf
26 changed files with 480 additions and 10 deletions

View File

@ -115,6 +115,7 @@ Rails.application.routes.draw do
resources :apps, only: [:create]
resources :blocks, only: [:index]
resources :favourites, only: [:index]
resources :reports, only: [:index, :create]
resources :follow_requests, only: [:index] do
member do