progs/app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Fri, 26 Sep 2014 12:14:41 +0100
changeset 184 55968b3205cc
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!")
  }  
}