I'm new to Symfony2 and all this website development stuff. So I already wrote my code in /WebBundle/Resources/Views/Default/index.html.twig and some CSS code just to test it. The problem is, I don't know how to link the two. I tried looking it up online, but none of it solved my problem. In my index.html.twig file, I tried:
{% block stylesheets %}
<link href="{{ asset('bundles/WebBundle/css/web.css') }}" rel="stylesheet" type="text/css" />
{% endblock %}
and
{% block stylesheets %}
<link href="{{ asset('css/web.css') }}" rel="stylesheet" type="text/css" />
{% endblock %}