mirror of
https://github.com/anteo/redmine_custom_workflows.git
synced 2026-01-26 00:04:20 +00:00
NameError: uninitialized constant #122
This commit is contained in:
parent
14ea99ec7d
commit
e041519c81
@ -55,7 +55,7 @@ class CustomWorkflow < ActiveRecord::Base
|
||||
|
||||
def self.run_shared_code(object)
|
||||
log_message '= Running shared code', object
|
||||
CustomWorkflow.table_exists? # Due to DB migration
|
||||
if CustomWorkflow.table_exists? # Due to DB migration
|
||||
CustomWorkflow.active.where(:observable => :shared).find_each do |workflow|
|
||||
unless workflow.run(object, :shared_code)
|
||||
log_message '= Abort running shared code', object
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user