Skip to content

Commit

Permalink
Merge pull request dustin10#962 from dragosprotung/master
Browse files Browse the repository at this point in the history
Fix issue with not loading the profiler template
  • Loading branch information
garak authored Feb 19, 2019
2 parents ee27a37 + d1c1274 commit 4f75981
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Resources/config/collector.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<services>
<service class="Vich\UploaderBundle\DataCollector\MappingCollector" id="Vich\UploaderBundle\DataCollector\MappingCollector" public="false">
<argument type="service" id="vich_uploader.metadata_reader" />
<tag name="data_collector" template="VichUploaderBundle::Collector/mapping_collector.html.twig" id="vich_uploader.mapping_collector" />
<tag name="data_collector" template="@VichUploader/Collector/mapping_collector.html.twig" id="vich_uploader.mapping_collector" />
</service>
</services>

Expand Down
4 changes: 2 additions & 2 deletions Resources/views/Collector/mapping_collector.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% block toolbar %}
{% set icon %}
{% include '@VichUploaderBundle/Resources/views/Collector/icon_grey.html.twig' %}
{% include '@VichUploader/Collector/icon_grey.html.twig' %}
<span class="sf-toolbar-value">{{ collector.mappingsCount }}</span>
{% endset %}

Expand All @@ -20,7 +20,7 @@
{# This left-hand menu appears when using the full-screen profiler. #}
<span class="label">
<span class="icon">
{% include '@VichUploaderBundle/Resources/views/Collector/icon_white.html.twig' %}
{% include '@VichUploader/Collector/icon_white.html.twig' %}
</span>
<strong>VichUploader</strong>
</span>
Expand Down

0 comments on commit 4f75981

Please sign in to comment.