change endpoint

This commit is contained in:
Oleg Hasjanov 2021-07-29 12:50:01 +03:00 committed by olegphenomenon
parent 36e9aac1d3
commit f6e46b8fe6
3 changed files with 7 additions and 7 deletions

View file

@ -72,9 +72,9 @@ Rails.application.routes.draw do
get '/all_notifications', to: 'notifications#all_notifications'
end
end
resource :login, only: [:index] do
resource :accreditation_info, only: [:index] do
collection do
get '/', to: 'login#index'
get '/', to: 'accreditation_info#index'
end
end
resources :nameservers do