changeset 198 | 2ce98ee39990 |
parent 197 | 9c968d0de9a0 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Attic/scala/app0.scala Sat Oct 04 13:17:18 2014 +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!") + } +} + + +