summaryrefslogtreecommitdiff
path: root/example/variableRoutes/app/src/VariableRoutes.scala
diff options
context:
space:
mode:
Diffstat (limited to 'example/variableRoutes/app/src/VariableRoutes.scala')
-rw-r--r--example/variableRoutes/app/src/VariableRoutes.scala4
1 files changed, 2 insertions, 2 deletions
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()