Skip to content

Commit b17a5c7

Browse files
author
Hristo Botev
committed
Update default template referencing to use the default since Symfony 3.4
1 parent a33e11e commit b17a5c7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

DependencyInjection/Configuration.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,19 +275,19 @@ protected function addRenderSection($rootNode)
275275
->addDefaultsIfNotSet()
276276
->fixXmlConfig('resource')
277277
->children()
278-
->scalarNode('path')->defaultValue('SpyTimelineBundle:Timeline')->end()
279-
->scalarNode('fallback')->defaultValue('SpyTimelineBundle:Timeline:default.html.twig')->end()
278+
->scalarNode('path')->defaultValue('@SpyTimeline/Timeline')->end()
279+
->scalarNode('fallback')->defaultValue('@SpyTimeline/Timeline/default.html.twig')->end()
280280
->arrayNode('i18n')
281281
->children()
282282
->scalarNode('fallback')->isRequired()->end()
283283
->end()
284284
->end()
285285
->arrayNode('resources')
286-
->defaultValue(array('SpyTimelineBundle:Action:components.html.twig'))
286+
->defaultValue(array('@SpyTimeline/Action/components.html.twig'))
287287
->validate()
288-
->ifTrue(function ($v) { return !in_array('SpyTimelineBundle:Action:components.html.twig', $v); })
288+
->ifTrue(function ($v) { return !in_array('@SpyTimeline/Action/components.html.twig', $v); })
289289
->then(function ($v) {
290-
return array_merge(array('SpyTimelineBundle:Action:components.html.twig'), $v);
290+
return array_merge(array('@SpyTimeline/Action/components.html.twig'), $v);
291291
})
292292
->end()
293293
->prototype('scalar')->end()

0 commit comments

Comments
 (0)