0.11.7
- Bugfix:
.collect
and.mapTo
were not storing the mapped value (in the internal state)
An example that would show this behavior:
(pathEnd.mapTo(true) | path("page-1").mapTo(false)) { isIndex =>
render(Page(isIndex))
}
.collect
and .mapTo
were not storing the mapped value (in the internal state)An example that would show this behavior:
(pathEnd.mapTo(true) | path("page-1").mapTo(false)) { isIndex =>
render(Page(isIndex))
}