Skip to content

Commit

Permalink
Use https:// links when possible
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Apr 19, 2018
1 parent 0f008c8 commit 693562c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/debug/source_code.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@

<div class="modal-body">
{% if controller %}
<h3><a href="http://symfony.com/doc/current/controller.html" target="_blank">{{ 'title.controller_code'|trans }}</a><small class="pull-right">{{ controller.file_path|format_file(controller.starting_line) }}</small></h3>
<h3><a href="https://symfony.com/doc/current/controller.html" target="_blank">{{ 'title.controller_code'|trans }}</a><small class="pull-right">{{ controller.file_path|format_file(controller.starting_line) }}</small></h3>
<pre><code class="php">{{ controller.source_code }}</code></pre>
{% else %}
<h3><a href="http://symfony.com/doc/current/controller.html">{{ 'title.controller_code'|trans }}</a></h3>
<h3><a href="https://symfony.com/doc/current/controller.html">{{ 'title.controller_code'|trans }}</a></h3>
<pre><code>{{ 'not_available'|trans }}</code></pre>
{% endif %}

<h3><a href="http://symfony.com/doc/current/templating.html" target="_blank">{{ 'title.twig_template_code'|trans }}</a><small class="pull-right">{{ template.file_path|format_file(template.starting_line) }}</small></h3>
<h3><a href="https://symfony.com/doc/current/templating.html" target="_blank">{{ 'title.twig_template_code'|trans }}</a><small class="pull-right">{{ template.file_path|format_file(template.starting_line) }}</small></h3>
<pre><code class="twig">{{ template.source_code }}</code></pre>
</div>
</div>
Expand Down

0 comments on commit 693562c

Please sign in to comment.