Merge remote-tracking branch 'parent/main' into upstream-20240308
This commit is contained in:
commit
fa96bf2e87
106 changed files with 1107 additions and 253 deletions
|
@ -162,6 +162,17 @@ namespace :api, format: false do
|
|||
end
|
||||
end
|
||||
|
||||
namespace :notifications do
|
||||
resources :requests, only: :index do
|
||||
member do
|
||||
post :accept
|
||||
post :dismiss
|
||||
end
|
||||
end
|
||||
|
||||
resource :policy, only: [:show, :update]
|
||||
end
|
||||
|
||||
resources :notifications, only: [:index, :show] do
|
||||
collection do
|
||||
post :clear
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue