Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
gets proper directory path if using translate extension
Browse files Browse the repository at this point in the history
  • Loading branch information
cdowdy committed Sep 21, 2017
1 parent 8a656ed commit d57a829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/tinypng.imageoptimization.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,15 @@
{% for key, value in tnypng_directories %}
<tr>
<td>
<a href="{{ path("tinypng-all-images") }}/{{ value.directory.path }}">
<a href="{{ path("tinypng-all-images", { 'directory': value.directory.path }) }}">
{{ value.directory.path }}
</a>
</td>
<td>
{% if value.subdirectory %}
{% for key, value in value.subdirectory %}
<p>
<a href="{{ path("tinypng-all-images") }}/{{ value }}">
<a href="{{ path("tinypng-all-images", { 'directory': value }) }}">
{{ value }}
</a>
</p>
Expand Down

0 comments on commit d57a829

Please sign in to comment.