Method: Hanami::Routing::Namespace#mount

Defined in:
lib/hanami/routing/namespace.rb

#mount(app, options) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 1.1.0



86
87
88
# File 'lib/hanami/routing/namespace.rb', line 86

def mount(app, options)
  super(app, options.merge(at: @name.join(options[:at])))
end