Merge pull request #514 from streeter/asset_url_doc_fix

Correctly use the right variable for webassets
This commit is contained in:
Justin Mayer 2012-09-19 10:36:29 -07:00
commit a9d370f7be

View file

@ -505,7 +505,7 @@ Another example for Javascript:
.. code-block:: jinja
{% assets filters="uglifyjs,gzip", output="js/packed.js", "js/jquery.js", "js/base.js", "js/widgets.js" %}
<script src="{{ ASSETS_URL }}"></script>
<script src="{{ ASSET_URL }}"></script>
{% endassets %}
The above will produce a minified and gzipped JS file: