app0.scala
changeset 5 1280309e6bfc
child 6 4c40d4b2d01c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app0.scala	Mon Sep 24 20:51:17 2012 +0100
@@ -0,0 +1,15 @@
+package controllers
+import play.api.mvc._
+
+object Application extends Controller {
+
+  // answering a GET request
+  val index = Action { request =>
+    
+    Ok("Hello world!")
+  }  
+  
+}
+
+
+