This commit is contained in:
Brusk Hamarash 2021-06-15 12:51:39 +03:00
parent 093110873b
commit 7f013c34f4

View File

@ -34,6 +34,7 @@ module Workflower
source.get_workflows_for_workflow_id(workflow_id) source.get_workflows_for_workflow_id(workflow_id)
end end
def workflower_initializer
@workflower_base ||= Workflower::Manager.new(self, source) @workflower_base ||= Workflower::Manager.new(self, source)
@workflower_base.allowed_transitions.each do |flow| @workflower_base.allowed_transitions.each do |flow|