Merge branch 'standalone_develop' into pm_project_develop

# Conflicts:
#	app/controllers/attachments_controller.rb
#	app/services/api/v1/issues/concerns/checkable.rb
#	app/services/api/v1/issues/concerns/loadable.rb
This commit is contained in:
2023-12-15 10:43:54 +08:00
26 changed files with 130 additions and 40 deletions

View File

@@ -83,6 +83,7 @@ defaults format: :json do
end
member do
get :show_by_id
resources :journals, module: :issues, only: [:index, :create, :update, :destroy] do
member do
get :children_journals
@@ -128,8 +129,9 @@ defaults format: :json do
end
match 'branches/*name', to: "branches#destroy", via: :all
resources :tags, param: :name, only: [:index, :destroy]
match 'tags/*name', to: "tags#destroy", via: :all
resources :tags, param: :name, only: [:index, :show, :destroy]
delete 'tags/*name', to: "tags#destroy", via: :all
get 'tags/*name', to: "tags#show", via: :all
resources :commits, only: [:index]
resources :code_stats, only: [:index]