diff --git a/Resources/doc/usage.rst b/Resources/doc/usage.rst index 00bead3d..abb11279 100644 --- a/Resources/doc/usage.rst +++ b/Resources/doc/usage.rst @@ -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);