File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ the route name after the command:
30
30
31
31
.. code-block :: bash
32
32
33
- $ php app /console debug:router article_show
33
+ $ php bin /console debug:router article_show
34
34
35
35
Likewise, if you want to test whether a URL matches a given route, you can
36
36
use the ``router:match `` console command:
37
37
38
38
.. code-block :: bash
39
39
40
- $ php app /console router:match /blog/my-latest-post
40
+ $ php bin /console router:match /blog/my-latest-post
41
41
42
42
This command will print which route the URL matches.
43
43
Original file line number Diff line number Diff line change @@ -23,10 +23,6 @@ variables. The ``escape`` function helps escape any non-JavaScript-safe values:
23
23
) ?>";
24
24
</script>
25
25
26
- .. versionadded :: 2.8
27
- The ``path() `` PHP templating helper was introduced in Symfony 2.8. Prior
28
- to 2.8, you had to use the ``generate() `` helper method.
29
-
30
26
But if you *actually * need to generate routes in pure JavaScript, consider using
31
27
the `FOSJsRoutingBundle `_. It makes the following possible:
32
28
You can’t perform that action at this time.
0 commit comments