Class: Lotus::Container::Router
- Inherits:
-
Router
- Object
- Router
- Lotus::Container::Router
- Defined in:
- lib/lotus/container.rb
Overview
Instance Method Summary collapse
Instance Method Details
#mount(app, options) ⇒ Object
8 9 10 11 |
# File 'lib/lotus/container.rb', line 8 def mount(app, ) app = app.new(path_prefix: .fetch(:at)) if lotus_app?(app) super(app, ) end |