Skip to content

Commit

Permalink
Merge pull request #19 from Mapudo/MAP-2295
Browse files Browse the repository at this point in the history
MAP-2295 Fix template include paths
  • Loading branch information
kobelobster authored Jan 12, 2018
2 parents 48e9243 + d515272 commit 10be6d9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All Notable changes to `mapudo/guzzle-bundle` will be documented in this file.

Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## [2.1.1] - 2018-01-11
### Changed
- Changed the template include paths

## [2.1.0] - 2017-12-13
### Changed
- Changed isset handling with default value to php 7
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<!-- Data collector -->
<service id="mapudo_bundle_guzzle.data_collector.request_data_collector" class="Mapudo\Bundle\GuzzleBundle\DataCollector\RequestDataCollector" public="false">
<tag name="data_collector" template="GuzzleBundle::debug" id="guzzle"/>
<tag name="data_collector" template="@Guzzle/debug.html.twig" id="guzzle"/>
</service>

<!-- Serializer -->
Expand Down
6 changes: 3 additions & 3 deletions src/Resources/views/debug.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "WebProfilerBundle:Profiler:layout.html.twig" %}
{% extends "@WebProfiler/Profiler/layout.html.twig" %}

{% block toolbar %}
{% set icon %}
Expand All @@ -13,7 +13,7 @@
</div>
{% endset %}

{% include "WebProfilerBundle:Profiler:toolbar_item.html.twig" with { "link": profiler_url } %}
{% include "@WebProfiler/Profiler/toolbar_item.html.twig" with { "link": profiler_url } %}
{% endblock %}

{% block menu %}
Expand All @@ -38,5 +38,5 @@
{% endblock %}

{% block panel %}
{% include 'GuzzleBundle::profiler.html.twig' with { 'collector': collector } %}
{% include '@Guzzle/profiler.html.twig' with { 'collector': collector } %}
{% endblock %}

0 comments on commit 10be6d9

Please sign in to comment.