Created
January 23, 2013 01:51
-
-
Save andreia/4601078 to your computer and use it in GitHub Desktop.
Symfony2: Using absolute URLs for your assets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(e.g. for email templates) | |
Just set the assets_base_urls 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment