Le 30/01/2011 23:00, Adrien Mogenet a écrit :
Hi everyone,
I was a "heavy" sf1.x developer, and I'm learning sf2 :)
I am wondering something about paths for images.
I read that web resources should stand in /src/Application/MyBundle/
Resources/public

Is that right ?
And thus, how do I insert my image using the {% asset( path ) %}
function ?

asset('bundles/my/....')
and you have to run the assets:install command to install the assets in the web dir.

--
Christophe | Stof

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to