Attic/scala/app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Sat, 04 Oct 2014 13:17:18 +0100
changeset 198 2ce98ee39990
parent 197 progs/scala/app0.scala@9c968d0de9a0
permissions -rw-r--r--
reorganised

package controllers
import play.api.mvc._

object Application extends Controller {

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