File tree 3 files changed +3
-4
lines changed
src/Yoda/EventBundle/Resources/views
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 14
14
15
15
{% block stylesheets %}
16
16
{# todo - put in the code to dynamically go to assets-built #}
17
- <link rel =" stylesheet" href =" {{ asset(' assets /css/layout.css' ) }}" />
17
+ <link rel =" stylesheet" href =" {{ asset(assetsPath~ ' /css/layout.css' ) }}" />
18
18
{% endblock %}
19
19
<link rel =" icon" type =" image/x-icon" href =" {{ asset(' favicon.ico' ) }}" />
20
20
</head >
Original file line number Diff line number Diff line change 30
30
form :
31
31
resources :
32
32
- " ::forms.html.twig"
33
+ globals :
34
+ assetsPath : ' assets-built'
33
35
34
36
# Assetic Configuration
35
37
assetic :
Original file line number Diff line number Diff line change 1
- {% set useCompiled = true %}
2
- {% set assetsPath = ' assets' ~(useCompiled ? ' -built' ) %}
3
-
4
1
<script src =" {{ asset(assetsPath~' /vendor/requirejs/require.js' ) }}" ></script >
5
2
<script >
6
3
You can’t perform that action at this time.
0 commit comments