Add annual reports for accounts (#28693)

This commit is contained in:
Eugen Rochko
2024-01-24 10:38:10 +01:00
committed by GitHub
parent 01ce9df880
commit 5b1eb09d54
21 changed files with 480 additions and 1 deletions

View File

@@ -51,6 +51,12 @@ namespace :api, format: false do
resources :scheduled_statuses, only: [:index, :show, :update, :destroy]
resources :preferences, only: [:index]
resources :annual_reports, only: [:index] do
member do
post :read
end
end
resources :announcements, only: [:index] do
scope module: :announcements do
resources :reactions, only: [:update, :destroy]