Last active
August 29, 2015 14:03
-
-
Save shmaltorhbooks/021407985508723d8775 to your computer and use it in GitHub Desktop.
fos js routing
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
| <script type="text/javascript" src="{{ asset('/bundles/fosjsrouting/js/router.js') }}"></script> | |
| {% if _env == 'prod' %} | |
| <script type="text/javascript" src="{{ asset('/js/fos_js_routes.js') }}"></script> | |
| {% else %} | |
| <script type="text/javascript" src="{{ path('fos_js_routing_js', {"callback": "fos.Router.setData"}) }}"></script> | |
| {% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment