Method: Hanami::Routing::Route#nested_router
- Defined in:
- lib/hanami/routing/route.rb
#nested_router ⇒ 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.
Introspect the given route to understand if there is a wrapped Hanami::Router
52 53 54 |
# File 'lib/hanami/routing/route.rb', line 52 def nested_router dest.routes if dest.respond_to?(:routes) end |