Attic/scala/app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Thu, 15 Dec 2016 16:09:57 +0000 (2016-12-15)
changeset 499 645d0c1aefb1
parent 198 2ce98ee39990
permissions -rw-r--r--
added
package controllers
import play.api.mvc._

object Application extends Controller {

  // answering a GET request
  val index = Action { request =>
    Ok("Hello world!")
  }  
}