summaryrefslogtreecommitdiff
path: root/cask/test/src/test/cask/Compress.scala
diff options
context:
space:
mode:
Diffstat (limited to 'cask/test/src/test/cask/Compress.scala')
-rw-r--r--cask/test/src/test/cask/Compress.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/cask/test/src/test/cask/Compress.scala b/cask/test/src/test/cask/Compress.scala
new file mode 100644
index 0000000..1a027d6
--- /dev/null
+++ b/cask/test/src/test/cask/Compress.scala
@@ -0,0 +1,12 @@
+package test.cask
+
+object Compress extends cask.MainRoutes{
+
+ @cask.decorators.compress
+ @cask.get("/")
+ def hello() = {
+ "Hello World! Hello World! Hello World!"
+ }
+
+ initialize()
+}