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:
David Fuhr 2015-04-27 23:00:50 +02:00 committed by David Fuhr
parent adf7fb21e3
commit 8f7f24e6d3

View file

@ -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