mirror of
https://github.com/monadicsystems/okapi.git
synced 2024-11-27 05:43:19 +03:00
Update release.md
This commit is contained in:
parent
faf8d3e8ee
commit
0cf1fc40e1
@ -249,4 +249,10 @@ There are two types of URLs that you can generate with Okapi:
|
||||
```haskell
|
||||
data RelURL = RelURL Path Query
|
||||
data AbsURL = AbsURL Scheme Host (Maybe Port) RelURL
|
||||
|
||||
renderRelURL :: RelURL -> Text
|
||||
|
||||
renderAbsURL :: AbsURL -> Text
|
||||
|
||||
blogRouteCategoryURL = renderRelURL $ BlogRouteCategory "fiction"
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user