Skip to content

Commit 15b68ad

Browse files
committed
add Named routes subsection title
1 parent a901271 commit 15b68ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_posts/2015-05-05-routes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ If you want to be more riguros you can use something like:
5757
GET("/contact/{id: [0-9]+}", (routeContext) -> { ... });
5858
```
5959

60+
#### Named routes
61+
6062
`Named` routes make referring to routes when generating redirects or URLs more convenient. You may specify a name for a route like so:
6163

6264
```java

0 commit comments

Comments
 (0)