Set buckets at the workflow level

- All bubbles inherit the bucket's set workflow
This commit is contained in:
Jason Zimdars
2025-03-27 14:35:07 -05:00
parent 94d12710ad
commit 1cf2e24bcc
10 changed files with 79 additions and 28 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class WorkflowsController < ApplicationController
def create
@workflow = Current.account.workflows.create! workflow_params
# FIXME: this should definitely change.
[ "Maybe?", "Not now", "Done" ].each { |name| @workflow.stages.create! name: name }
[ "Triage", "In progress", "On Hold", "Review" ].each { |name| @workflow.stages.create! name: name }
redirect_to workflows_path
end