Skip to content

Commit

Permalink
ref: twig_component.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 committed Dec 31, 2023
1 parent 4fd6117 commit c242c68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions elasticms-admin/config/packages/twig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ twig:
exception_controller: null
globals:
ems_hash_algo: '%env(string:EMS_HASH_ALGO)%'
twig_component:
anonymous_template_directory: 'components'

4 changes: 4 additions & 0 deletions elasticms-admin/config/packages/twig_component.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
twig_component:
anonymous_template_directory: 'components/'
defaults:
App\Admin\Components\: 'components/'

0 comments on commit c242c68

Please sign in to comment.