Skip to content

Commit c75455f

Browse files
guanglewouterj
authored andcommitted
Update routing.rst
add route name "blog_show" in first example
1 parent e5dbd49 commit c75455f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/routing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The route is simple:
4545
class BlogController extends Controller
4646
{
4747
/**
48-
* @Route("/blog/{slug}")
48+
* @Route("/blog/{slug}", name="blog_show")
4949
*/
5050
public function showAction($slug)
5151
{

0 commit comments

Comments
 (0)