progs/app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 30 Sep 2014 11:34:21 +0100
changeset 188 2555552d2c05
parent 93 82ac034dcc9d
permissions -rw-r--r--
updated

package controllers
import play.api.mvc._

object Application extends Controller {

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