diff options
Diffstat (limited to 'cask/test/src/test/cask/Decorated.scala')
-rw-r--r-- | cask/test/src/test/cask/Decorated.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cask/test/src/test/cask/Decorated.scala b/cask/test/src/test/cask/Decorated.scala index 3677203..bd27647 100644 --- a/cask/test/src/test/cask/Decorated.scala +++ b/cask/test/src/test/cask/Decorated.scala @@ -6,10 +6,10 @@ object Decorated extends cask.MainRoutes{ class User{ override def toString = "[haoyi]" } - class loggedIn extends cask.Routes.Decorator { + class loggedIn extends cask.Decorator { def getRawParams(ctx: ParamContext) = Right(Map("user" -> new User())) } - class withExtra extends cask.Routes.Decorator { + class withExtra extends cask.Decorator { def getRawParams(ctx: ParamContext) = Right(Map("extra" -> 31337)) } |