Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cookbook/profiler/data_collector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ must also define additional blocks:
</div>
{% endset %}

{{ include('@WebProfiler/Profiler/toolbar_item.html.twig') }}
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', {'link': true}) }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or shouldn't we better set this to falselike it is done in the example before? Otherwise it might look strange for the reader that we changed the value.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be true because the example requires access to profile panel. In the example before, the link is not necessary.

{% endblock %}

{% block head %}
Expand Down