summaryrefslogtreecommitdiff
path: root/cask/test/src/test/cask/Compress2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'cask/test/src/test/cask/Compress2.scala')
-rw-r--r--cask/test/src/test/cask/Compress2.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/cask/test/src/test/cask/Compress2.scala b/cask/test/src/test/cask/Compress2.scala
new file mode 100644
index 0000000..0f2d01f
--- /dev/null
+++ b/cask/test/src/test/cask/Compress2.scala
@@ -0,0 +1,14 @@
+package test.cask
+
+object Compress2 extends cask.Routes{
+ override def decorators = Seq(new cask.decorators.compress())
+
+ @cask.get("/")
+ def hello() = {
+ "Hello World! Hello World! Hello World!"
+ }
+
+ initialize()
+}
+
+object Compress2Main extends cask.Main(Compress2) \ No newline at end of file