app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Sun, 22 Sep 2013 15:23:08 +0100
changeset 92 af1aeec504cb
parent 6 4c40d4b2d01c
permissions -rw-r--r--
some updates

package controllers
import play.api.mvc._

object Application extends Controller {

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