mirror of
https://github.com/internetee/registry.git
synced 2025-06-12 23:54:44 +02:00
implement get all list notifications repp endpoint
This commit is contained in:
parent
fbe63ae062
commit
2e8558a93d
2 changed files with 31 additions and 1 deletions
|
@ -54,7 +54,11 @@ Rails.application.routes.draw do
|
|||
resources :auctions, only: %i[index]
|
||||
resources :retained_domains, only: %i[index]
|
||||
namespace :registrar do
|
||||
resources :notifications, only: [:index, :show, :update]
|
||||
resources :notifications, only: [:index, :show, :update] do
|
||||
collection do
|
||||
get '/all_notifications', to: 'notifications#all_notifications'
|
||||
end
|
||||
end
|
||||
resources :nameservers do
|
||||
collection do
|
||||
put '/', to: 'nameservers#update'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue