Skip to content

Commit

Permalink
Merge pull request #336 from OscarBNO/patch-1
Browse files Browse the repository at this point in the history
Correct require of fos_js_routes.json
  • Loading branch information
tobias-93 committed Feb 3, 2019
2 parents 34f7c6c + e682b9d commit 8955bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/doc/usage.rst
Expand Up @@ -41,7 +41,7 @@ Then within your JavaScript development you can use:

.. code-block:: javascript
const routes = require('../../web/js/fos_js_routes.json');
const routes = require('../../public/js/fos_js_routes.json');
import Routing from '../../vendor/friendsofsymfony/jsrouting-bundle/Resources/public/js/router.min.js';
Routing.setRoutingData(routes);
Expand Down

0 comments on commit 8955bbc

Please sign in to comment.