Hi,
I use assetic with twig to insert a css file like this :
{% stylesheets '@BundleCreator/Resources/Public/css/bundleCreator.css'
%}
link rel=stylesheet href={{ asset_url }} type=text/css
media=all /
{% endstylesheets %}
It works well but I want insert an image in my css file like this
You need to add the cssrewrite filter to your tag:
{% stylesheets '@BundleCreator/Resources/Public/css/bundleCreator.css'
filter='cssrewrite'
%}
On Jun 11, 2011, at 9:57 AM, John Blobsmith oliv.g...@gmail.com wrote:
Hi,
I use assetic with twig to insert a css file like this :
{%