Class: Lotus::Container::Router

Inherits:
Router
  • Object
show all
Defined in:
lib/lotus/container.rb

Overview

Since:

  • 0.1.0

Instance Method Summary collapse

Instance Method Details

#mount(app, options) ⇒ Object

Since:

  • 0.1.0



8
9
10
11
# File 'lib/lotus/container.rb', line 8

def mount(app, options)
  app = app.new(path_prefix: options.fetch(:at)) if lotus_app?(app)
  super(app, options)
end