implement api endpoint for record results

This commit is contained in:
Oleg Hasjanov 2021-08-06 12:26:41 +03:00 committed by olegphenomenon
parent d56c61bf84
commit 8a1967bdb9
5 changed files with 104 additions and 57 deletions

View file

@ -75,7 +75,7 @@ Rails.application.routes.draw do
resource :accreditation, only: [:index] do
collection do
get '/get_info', to: 'accreditation_info#index'
get '/push_results', to: 'accreditation_results#index'
post '/push_results', to: 'accreditation_results#create'
end
end
resources :nameservers do