Skip to content
Browse files

Use assetic routes in Fullscreen template

  • Loading branch information...
1 parent 941d69b commit e7d53958a10573aed2fd9f01345931f98fbbf358 @cwygoda cwygoda committed Jan 20, 2012
Showing with 2 additions and 6 deletions.
  1. +2 −6 src/Mapbender/CoreBundle/Resources/views/Template/fullscreen.html.twig
View
8 src/Mapbender/CoreBundle/Resources/views/Template/fullscreen.html.twig
@@ -3,15 +3,11 @@
{% block title %}{{ configuration.title }}{% endblock %}
{% block css %}
- {% for css in assets.css %}
- <link rel="stylesheet" type="text/css" href="{{ asset(css) }}" />
- {% endfor %}
+ <link rel="stylesheet" type="text/css" href="{{ assets.css }}" />
{% endblock %}
{% block js %}
- {% for js in assets.js %}
- <script type="text/javascript" src="{{ asset(js) }}"></script>
- {% endfor %}
+ <script type="text/javascript" src="{{ assets.js }}"></script>
{% endblock %}
{% block content %}

0 comments on commit e7d5395

Please sign in to comment.
Something went wrong with that request. Please try again.