From 4b0cfdf0eeca46cfccbf9fe42af42f383932c427 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sat, 18 Aug 2018 10:16:27 +0800 Subject: 0.1.1 --- example/variableRoutes/app/src/VariableRoutes.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example/variableRoutes/app/src') diff --git a/example/variableRoutes/app/src/VariableRoutes.scala b/example/variableRoutes/app/src/VariableRoutes.scala index 760ab15..a1c8a4f 100644 --- a/example/variableRoutes/app/src/VariableRoutes.scala +++ b/example/variableRoutes/app/src/VariableRoutes.scala @@ -11,8 +11,8 @@ object VariableRoutes extends cask.MainRoutes{ } @cask.get("/path", subpath = true) - def showSubpath(subPath: cask.Subpath) = { - s"Subpath ${subPath.value}" + def showSubpath(request: cask.Request) = { + s"Subpath ${request.remainingPathSegments}" } initialize() -- cgit v1.2.3