Just an idea from beberlei on irc (though I'm not sure that's what he
meant, but it works anyway I think):
symlinks would be:
from: web/bundles/Application/FooBundle
to: src/Application/FooBundle/Resources/public
from: web/bundles/Bundle/FooBundle
to: src/Bundle/FooBundle/Resources/public
Then when you do {{ asset('FooBundle:file.jpg') }} or {{
asset('FooBundle:path/to/file.jpg') }} and that would do:
In debug mode: check in both Application and Bundle whether the asset is
found, and echo the proper path.
In non-debug mode: first run of the assets helper would just scan all
public dirs, resolve all paths and cache them.
Cheers
--
Jordi Boggiano
@seldaek :: http://seld.be/
--
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 developers" 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-devs?hl=en