Created
May 24, 2015 14:59
-
-
Save Nav-Appaiya/649684241f0795a5e3f5 to your computer and use it in GitHub Desktop.
Setting a base path for assets in symfony2 =>{{ asset('css/style.css') }} instead of the full path
This file contains hidden or 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
| framework: | |
| #esi: ~ | |
| #translator: { fallbacks: ["%locale%"] } | |
| secret: "%secret%" | |
| router: | |
| resource: "%kernel.root_dir%/config/routing.yml" | |
| strict_requirements: ~ | |
| form: ~ | |
| csrf_protection: ~ | |
| validation: { enable_annotations: true } | |
| templating: | |
| engines: ['twig'] | |
| assets_base_urls: /bundles/navapp/ | |
| #assets_version: SomeVersionScheme | |
| default_locale: "%locale%" | |
| trusted_hosts: ~ | |
| trusted_proxies: ~ | |
| session: | |
| # handler_id set to null will use default session handler from php.ini | |
| handler_id: ~ | |
| fragments: ~ | |
| http_method_override: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment