Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianKirmaier committed Jan 15, 2025
1 parent cf29e30 commit 82d238a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ object Filters {
}
def title(title: String): Filter = { route => { request =>
val r = route.apply(request)
val _title = title

Response(r.future.map {
case x: View =>
new View {
override def title: String = title
override def title: String = _title
override def description: String = x.description
override def content: all.Node = x.realContent

Expand Down

0 comments on commit 82d238a

Please sign in to comment.