Method: Hanami::Config#router
- Defined in:
- lib/hanami/config.rb
permalink #router ⇒ Hanami::Config::Router, Hanami::Config::NullConfig (readonly)
Returns the app’s router config, or a null config if hanami-router is not bundled.
268 269 270 |
# File 'lib/hanami/config.rb', line 268 def router @router end |