progs/app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 12 Nov 2013 21:13:00 +0000
changeset 132 53e24ca037ce
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!")
  }  
}