summaryrefslogtreecommitdiff
path: root/contrib/playlib/test/resources
diff options
context:
space:
mode:
authorGuillaume Grossetie <ggrossetie@gmail.com>2018-06-28 16:36:59 +0200
committerTobias Roeser <le.petit.fou@web.de>2019-02-14 17:45:16 +0100
commitfc18309865baf869d9c6f7ff7879f33f4cc122e6 (patch)
tree45c3c5bc36c04d0d7774017d8d5fe33e8e6db6be /contrib/playlib/test/resources
parentc29b678085b9417d55ea4e225786f99568cfeeb1 (diff)
downloadmill-fc18309865baf869d9c6f7ff7879f33f4cc122e6.tar.gz
mill-fc18309865baf869d9c6f7ff7879f33f4cc122e6.tar.bz2
mill-fc18309865baf869d9c6f7ff7879f33f4cc122e6.zip
Create a Play! module to compile the router
Diffstat (limited to 'contrib/playlib/test/resources')
-rw-r--r--contrib/playlib/test/resources/hello-world/core/conf/routes2
-rw-r--r--contrib/playlib/test/resources/hello-world/core/views/hello.scala.html6
2 files changed, 8 insertions, 0 deletions
diff --git a/contrib/playlib/test/resources/hello-world/core/conf/routes b/contrib/playlib/test/resources/hello-world/core/conf/routes
new file mode 100644
index 00000000..7d5e5498
--- /dev/null
+++ b/contrib/playlib/test/resources/hello-world/core/conf/routes
@@ -0,0 +1,2 @@
+GET / controllers.HomeController.index
+GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)
diff --git a/contrib/playlib/test/resources/hello-world/core/views/hello.scala.html b/contrib/playlib/test/resources/hello-world/core/views/hello.scala.html
new file mode 100644
index 00000000..3603fe07
--- /dev/null
+++ b/contrib/playlib/test/resources/hello-world/core/views/hello.scala.html
@@ -0,0 +1,6 @@
+@this(title: String)
+<html>
+ <body>
+ <h1>@title</h1>
+ </body>
+</html> \ No newline at end of file