class Bootinq::Railtie
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.
@example
# config/application.rb module Example class Application < Rails::Application config.before_configuration do require 'bootinq/railtie' end end end