File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,15 @@ The header can be added the following way:
17
17
1 . Override the default GraphiQL template:
18
18
19
19
``` yaml
20
+ # config/packages/graphiql.yaml or app/config/config.yml for Symfony without Flex
20
21
overblog_graphiql :
21
22
template : " GraphiQL/index.html.twig"
22
23
` ` `
23
24
2. Create a new template:
24
25
25
26
` ` ` twig
26
27
{# templates/GraphiQL/index.html.twig # }
27
- {% extends 'OverblogGraphiQLBundle: GraphiQL: index.html.twig' %}
28
+ {% extends '@OverblogGraphiQL/ GraphiQL/ index.html.twig' %}
28
29
29
30
{% block graphql_fetcher_headers %}
30
31
headers = {
@@ -39,7 +40,7 @@ Or append headers instead of replacing the default one:
39
40
40
41
``` twig
41
42
{# templates/GraphiQL/index.html.twig #}
42
- {% extends 'OverblogGraphiQLBundle: GraphiQL: index.html.twig' %}
43
+ {% extends '@OverblogGraphiQL/ GraphiQL/ index.html.twig' %}
43
44
44
45
{% block graphql_fetcher_headers %}
45
46
{{ parent() }}
You can’t perform that action at this time.
0 commit comments