Enable submit via API client

This commit is contained in:
Sebastian Serth
2020-11-25 20:47:28 +01:00
parent 5aa270c5c4
commit 993fb88f03
4 changed files with 51 additions and 10 deletions

View File

@ -157,6 +157,7 @@ Rails.application.routes.draw do
resources :events, only: [:create]
post "/evaluate", to: 'remote_evaluation#evaluate', via: [:post]
post "/submit", to: 'remote_evaluation#submit', via: [:post]
mount ActionCable.server => '/cable'
end