File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/Oro/Bundle/UIBundle/Resources/views/layouts Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 4
4
{%- macro getThemeSpriteUrl() -%}
5
5
{% set layoutContext = get_layout_context() %}
6
6
{% set theme = layoutContext .theme %}
7
- {% set basePath = app .request .basePath | trim %}
8
7
{% set themIconFilename = oro_is_rtl_mode() ? ' theme-icons.rtl.svg' : ' theme-icons.svg' %}
9
- {{- asset(basePath ~ ' / build/' ~ theme ~ ' /svg-icons/' ~ themIconFilename ) -}}
8
+ {{- asset(' build/' ~ theme ~ ' /svg-icons/' ~ themIconFilename ) -}}
10
9
{%- endmacro -%}
11
10
12
11
{%- macro getThemeSpriteMetadata() -%}
13
12
{% set layoutContext = get_layout_context() %}
14
13
{% set theme = layoutContext .theme %}
15
- {% set basePath = app .request .basePath | trim %}
16
- {{- asset(basePath ~ ' /build/' ~ theme ~ ' /svg-icons/icons-metadata.json' ) -}}
14
+ {{- asset(' build/' ~ theme ~ ' /svg-icons/icons-metadata.json' ) -}}
17
15
{%- endmacro -%}
18
16
19
17
{#
You can’t perform that action at this time.
0 commit comments