Skip to content

Commit

Permalink
Autoload WorkflowFactory since it gets called during initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
randalldfloyd committed Oct 7, 2024
1 parent c54a552 commit da9ef40
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/services/hyrax/workflow.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# frozen_string_literal: true
module Hyrax

module Workflow
extend ActiveSupport::Autoload

autoload :WorkflowFactory
end
end
1 change: 1 addition & 0 deletions lib/hyrax.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module Hyrax
autoload :ResourceSync
autoload :Zotero
autoload :Listeners
autoload :Workflow
end

##
Expand Down

0 comments on commit da9ef40

Please sign in to comment.