Class: Bootinq::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- Bootinq::Railtie
- Defined in:
- lib/bootinq/railtie.rb
Overview
Require bootinq/railtie
in the before_configuration
block of your
application definition to allow load component-scoped config paths
only when the named component is enabled:
config/routes.rb
→config/routes.component.rb
config/locales
→config/locales.component
config/initializers
→config/initializers.component
It doesn't affect on the default paths without suffix.