Symfony2: Using absolute URLs for your assets
(e.g. for email templates)
Just set the assetsbaseurls option under framework - templating key in your app/config/config.yml:
framework:
templating:
assets_base_urls: http://www.something.com/web/
http://symfony.com/doc/current/reference/configuration/framework.html#assets-base-urls
Written by Andréia Bohner
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Assets
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#