Skip to content

Commit

Permalink
Fix loading css & js when port is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Sidlo committed Apr 8, 2016
1 parent 078ac73 commit 0adb6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
{% block title %}<title>{{ adminContext.name }} - Admin</title>{% endblock %}
<base href="{{ app.request.scheme }}://{{ app.request.host }}/bundles/yadmin/assets/"/>
<base href="{{ app.request.scheme }}://{{ app.request.host }}:{{ app.request.port }}/bundles/yadmin/assets/"/>
{% block stylesheets %}
<!-- Required Plugin CSS -->
<link rel="stylesheet" type="text/css" href="vendor/plugins/tagmanager/tagmanager.css">
Expand Down

0 comments on commit 0adb6ea

Please sign in to comment.