Skip to content

Commit 8955bbc

Browse files
authored
Merge pull request #336 from OscarBNO/patch-1
Correct require of fos_js_routes.json
2 parents 34f7c6c + e682b9d commit 8955bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/doc/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Then within your JavaScript development you can use:
4141

4242
.. code-block:: javascript
4343
44-
const routes = require('../../web/js/fos_js_routes.json');
44+
const routes = require('../../public/js/fos_js_routes.json');
4545
import Routing from '../../vendor/friendsofsymfony/jsrouting-bundle/Resources/public/js/router.min.js';
4646
4747
Routing.setRoutingData(routes);

0 commit comments

Comments
 (0)