From 82d238abf99d2f8148f106f6c2704c16e78c0910 Mon Sep 17 00:00:00 2001 From: floriankirmaier Date: Wed, 15 Jan 2025 15:12:45 +0100 Subject: [PATCH] quick fix --- .../src/main/scala/one/jpro/platform/routing/Filters.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jpro-routing/core/src/main/scala/one/jpro/platform/routing/Filters.scala b/jpro-routing/core/src/main/scala/one/jpro/platform/routing/Filters.scala index 5d528c2f..2e1b5b70 100644 --- a/jpro-routing/core/src/main/scala/one/jpro/platform/routing/Filters.scala +++ b/jpro-routing/core/src/main/scala/one/jpro/platform/routing/Filters.scala @@ -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