lib/hanami/extensions.rb in hanami-2.1.0 vs lib/hanami/extensions.rb in hanami-2.2.0.beta1
- old
+ new
@@ -1,6 +1,10 @@
# frozen_string_literal: true
+if Hanami.bundled?("hanami-db")
+ require_relative "extensions/db/repo"
+end
+
if Hanami.bundled?("hanami-controller")
require_relative "extensions/action"
end
if Hanami.bundled?("hanami-view")