craue / CraueConfigBundle

Database-stored settings made available via a service for your Symfony project.
MIT License
173 stars 35 forks source link

There is no extension able to load the configuration for "craue_config_settings" #56

Closed 5quinque closed 4 years ago

5quinque commented 4 years ago

Following the steps in the README.

Installed the package, loading the migration, updated routing.yaml, but I get the error:

There is no extension able to load the configuration for "craue_config_settings"

5quinque commented 4 years ago

Resolved by creating config/routes/craue_config.yaml, with the contents:

_craue_config:
  resource: "@CraueConfigBundle/Resources/config/routing/settings.xml"
  prefix: /admin/settings
craue commented 4 years ago

Importing or adding the route is indeed needed if you want to use the built-in form, but not defining a route shouldn't cause the error you mentioned initially.