Skip to content

Commit

Permalink
fix(RozierBundle): Add a second path to make RoadizRozier templates e…
Browse files Browse the repository at this point in the history
…xtendable with @!RoadizRozier namespace
  • Loading branch information
ambroisemaupate committed Sep 15, 2023
1 parent 4d981bf commit 9fcb20b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/RoadizRozierBundle/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ services:
calls:
- prependPath: [ '%roadiz_core.documents_lib_dir%/Resources/views' ]
- addPath: [ '%roadiz_rozier.theme_dir%/Resources/views', 'RoadizRozier' ]
# Add a second path to make RoadizRozier templates extendable with @!RoadizRozier namespace
- addPath: [ '%roadiz_rozier.theme_dir%/Resources/views', '!RoadizRozier' ]
tags: [ 'twig.loader' ]

#
Expand Down

0 comments on commit 9fcb20b

Please sign in to comment.