mheleniak/EstrisaTwigImageTagBundle — comment on commit 7e88fbb6b8afb9604dbb76eff69d2128422db2e8
File: README.md line 30
By stof:

The example should not use a leading ``/`` in the argument passed to ``asset`` as this makes the call to ``asset`` useless. Here is what ``asset`` does:

- if it is an external url, returns it untouched
- if a CDN is configured in the configuration, prepend the CDN url to the path
- if there is no CDN and if the path is absolute (i.e. starting with a ``/``), returns it untouched
- if there is no CDN and if the path is relative, prepend the base path according to the request to get an absolute path (useful to make your app portable when it is not deployed at the root of the domain)