Place GMAPS_API_KEY in global variable for twig
This commit is contained in:
parent
c8d43b134f
commit
4fd997ce1c
1 changed files with 2 additions and 0 deletions
|
|
@ -2,3 +2,5 @@ twig:
|
||||||
paths: ['%kernel.project_dir%/templates']
|
paths: ['%kernel.project_dir%/templates']
|
||||||
debug: '%kernel.debug%'
|
debug: '%kernel.debug%'
|
||||||
strict_variables: '%kernel.debug%'
|
strict_variables: '%kernel.debug%'
|
||||||
|
globals:
|
||||||
|
gmaps_api_key: "%env(GMAPS_API_KEY)%"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue