lib/hanami/app.rb in hanami-1.3.2 vs lib/hanami/app.rb in hanami-1.3.3
- old
+ new
@@ -60,10 +60,10 @@
# @since 0.9.0
# @api private
def mount(configuration)
configuration.mounted.each do |klass, app|
- routes.mount(klass, at: app.path_prefix)
+ routes.mount(klass, at: app.path_prefix, host: app.host)
end
end
# @since 0.9.0
# @api private