progs/app0.scala
changeset 93 82ac034dcc9d
parent 6 4c40d4b2d01c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/progs/app0.scala	Sun Sep 22 15:35:50 2013 +0100
@@ -0,0 +1,13 @@
+package controllers
+import play.api.mvc._
+
+object Application extends Controller {
+
+  // answering a GET request
+  val index = Action { request =>
+    Ok("Hello world!")
+  }  
+}
+
+
+