Fixed parameter nam to kernel.environment
The parameter %kernel.env% does not exist. It throws the error message 'You have requested a non-existent parameter "kernel.env". Did you mean this: "kernel.environment"?'
This commit is contained in:
parent
adf7fb21e3
commit
8f7f24e6d3
|
@ -74,7 +74,7 @@ Symfony application, use the example below:
|
|||
fos_elastica:
|
||||
indexes:
|
||||
app:
|
||||
index_name: app_%kernel.env%
|
||||
index_name: app_%kernel.environment%
|
||||
```
|
||||
|
||||
In this case, the service `fos_elastica.index.app` will relate to an ElasticSearch index
|
||||
|
|
Loading…
Reference in a new issue