Workflow info and update

This commit is contained in:
2026-03-29 14:23:26 +03:00
parent 83b296dbe7
commit 32a7b07f2d
8 changed files with 97 additions and 4 deletions
+9 -2
View File
@@ -16,9 +16,16 @@ Rails.application.routes.draw do
# Defines the root path route ("/")
# root "posts#index"
root to: redirect('/projects')
resources :projects do
scope module: :project_admin do
resources :workflows, only: %i[index new create edit update destroy]
namespace :project_admin, as: 'admin' do
resources :workflows do
namespace :statuses do
get '/', action: :index
patch '/', action: :batch_update
end
end
end
end