lib/hanami/configuration/app.rb in hanami-1.3.2 vs lib/hanami/configuration/app.rb in hanami-1.3.3

- old
+ new

@@ -5,14 +5,17 @@ class Configuration # @api private class App < SimpleDelegator # @api private attr_reader :path_prefix + # @api private + attr_reader :host # @api private - def initialize(app, path_prefix) + def initialize(app, options = {}) super(app) - @path_prefix = path_prefix + @path_prefix = options[:at] + @host = options[:host] end end end end