From 7f013c34f4cf6ca62a0e9d7fd8bdd86d0d6b41af Mon Sep 17 00:00:00 2001 From: Brusk Hamarash Date: Tue, 15 Jun 2021 12:51:39 +0300 Subject: [PATCH] Bug fix --- lib/workflower/acts_as_workflower.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/workflower/acts_as_workflower.rb b/lib/workflower/acts_as_workflower.rb index f2f17a4..8d19273 100644 --- a/lib/workflower/acts_as_workflower.rb +++ b/lib/workflower/acts_as_workflower.rb @@ -34,6 +34,7 @@ module Workflower source.get_workflows_for_workflow_id(workflow_id) end + def workflower_initializer @workflower_base ||= Workflower::Manager.new(self, source) @workflower_base.allowed_transitions.each do |flow|