progs/app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 03 Dec 2013 03:20:42 +0000
changeset 146 6f884231ca57
parent 93 82ac034dcc9d
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!")
  }  
}