lib/fulmar/domain/task/initialization/base.rake in fulmar-1.10.1 vs lib/fulmar/domain/task/initialization/base.rake in fulmar-2.0.0
- old
+ new
@@ -1,12 +1,6 @@
require 'fulmar/domain/service/helper/common_helper'
include Fulmar::Domain::Service::Helper::CommonHelper
-if configuration.feature? :database
- require 'fulmar/domain/service/helper/database_helper'
- include Fulmar::Domain::Service::Helper::DatabaseHelper
-end
-
-if configuration.feature? :flow
- require 'fulmar/domain/service/helper/flow_helper'
- include Fulmar::Domain::Service::Helper::FlowHelper
-end
+Fulmar::Domain::Service::PluginService.instance.helpers.each do |helper|
+ include helper
+end
\ No newline at end of file