Method: Hanami::Config#finalize!
- Defined in:
- lib/hanami/config.rb
permalink #finalize! ⇒ 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.
Finalizes the config.
This is called when the app or slice is prepared. After this, no further changes to config can be made.
367 368 369 370 371 372 373 374 375 376 377 378 |
# File 'lib/hanami/config.rb', line 367 def finalize! # Finalize nested configs assets.finalize! actions.finalize!(self) views.finalize! logger.finalize! router.finalize! use_body_parser_middleware super end |