Workflow statuses editing

This commit is contained in:
2026-04-13 02:22:52 +03:00
parent 9766430e69
commit 450b7fb1d0
10 changed files with 130 additions and 20 deletions
+5 -3
View File
@@ -21,9 +21,11 @@ Rails.application.routes.draw do
resources :projects do
namespace :project_admin, as: 'admin' do
resources :workflows do
namespace :statuses do
get '/', action: :index
patch '/', action: :batch_update
scope module: :workflows do
resources :statuses, only: %i[index] do
get :edit, on: :collection
put '/', action: :batch_update, on: :collection
end
end
end
end