Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
harentius committed Jan 19, 2020
2 parents be91ccd + 46c413a commit 1008b54
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Resources/views/Show/article.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@
{% endblock %}

{% block javascripts %}
<script type="application/json" id="js-config">
{{
{
"article_id": entity.id,
}|json_encode|raw
}}
</script>

<script src="{{ asset('bundles/harentiusblog/article.js', 'harentius_blog') }}"></script>
<script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
<script src="{{ path('fos_js_routing_js', {'callback': 'fos.Router.setData'}) }}"></script>
Expand Down

0 comments on commit 1008b54

Please sign in to comment.