File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1- # swift-url-routing
1+ # URL Routing
22
33[ ![ ] ( https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fpointfreeco%2Fswift-url-routing%2Fbadge%3Ftype%3Dswift-versions )] ( https://swiftpackageindex.com/pointfreeco/swift-url-routing )
44[ ![ ] ( https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fpointfreeco%2Fswift-url-routing%2Fbadge%3Ftype%3Dplatforms )] ( https://swiftpackageindex.com/pointfreeco/swift-url-routing )
@@ -99,16 +99,16 @@ appRouter.path(for: .searchBooks(query: "Blob Bio"))
9999```
100100
101101``` swift
102- Node.ul (
103- books.map { book in
104- .li (
105- .a (
106- .href (appRouter.path (for : .book (id : book.id ))),
102+ ul {
103+ for book in books {
104+ li {
105+ a {
107106 book.title
108- )
109- )
107+ }
108+ .href (appRouter.path (for : .book (id : book.id )))
109+ }
110110 }
111- )
111+ }
112112```
113113``` html
114114<ul >
You can’t perform that action at this time.
0 commit comments