progs/app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 23 Sep 2013 17:02:24 +0100
changeset 96 e1e314c1bb61
parent 93 82ac034dcc9d
permissions -rw-r--r--
new

package controllers
import play.api.mvc._

object Application extends Controller {

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