Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tajine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adullact
PKI
Tajine
Commits
820c8d91
Commit
820c8d91
authored
1 year ago
by
Fabrice Gangler
Browse files
Options
Downloads
Patches
Plain Diff
fix(twig): add globals variables (appName, appShortName)
parent
a0172fa0
No related branches found
No related tags found
No related merge requests found
Pipeline
#57064
failed
1 year ago
Stage: php
Stage: linter
Stage: release
Stage: documentation
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/webapp/config/packages/twig.yaml
+4
-0
4 additions, 0 deletions
src/webapp/config/packages/twig.yaml
with
4 additions
and
0 deletions
src/webapp/config/packages/twig.yaml
+
4
−
0
View file @
820c8d91
twig
:
twig
:
default_path
:
'
%kernel.project_dir%/templates'
default_path
:
'
%kernel.project_dir%/templates'
globals
:
appName
:
'
%env(WEBAPP_NAME)%'
appShortName
:
'
%env(WEBAPP_SHORTNAME)%'
when@test
:
when@test
:
twig
:
twig
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment