Modified: branches/rails2/lib/workflow_types_handler.rb (2753 => 2754)
--- branches/rails2/lib/workflow_types_handler.rb 2011-10-24 21:02:54 UTC (rev 2753)
+++ branches/rails2/lib/workflow_types_handler.rb 2011-10-24 21:03:27 UTC (rev 2754)
@@ -5,6 +5,9 @@
# Helper class to deal with Workflow types and processors.
# Note that workflow types can exist that don't have corresponding processors.
+
+require 'lib/workflow_processors/interface'
+
class WorkflowTypesHandler
# Gets all the workflow processor classes that have been defined in the \lib\workflow_processors directory.
@@ -135,7 +138,7 @@
end
# Load up the processor classes at startup
-logger.debug("Workflow type processors found: " + WorkflowTypesHandler.processor_classes.to_sentence)
+Rails.logger.debug("Workflow type processors found: " + WorkflowTypesHandler.processor_classes.to_sentence)
# Refresh the list of workflow types in the system
WorkflowTypesHandler.refresh_all_known_types!