12ypeg
Last Updated: February 25, 2016
·
6.089K
· andreia
Mesr

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

Say Thanks
Respond