lib/hanami/assets/configuration.rb in hanami-assets-1.0.0 vs lib/hanami/assets/configuration.rb in hanami-assets-1.1.0.beta1

- old
+ new

@@ -79,10 +79,10 @@ # # @since 0.1.0 # @api private def self.for(base) # TODO: this implementation is similar to Hanami::Controller::Configuration consider to extract it into Hanami::Utils - namespace = Utils::String.new(base).namespace + namespace = Utils::String.namespace(base) framework = Utils::Class.load_from_pattern!("(#{namespace}|Hanami)::Assets") framework.configuration end # @since 0.4.0