app0.scala
author Christian Urban <urbanc@in.tum.de>
Tue, 25 Sep 2012 01:32:01 +0100
changeset 6 4c40d4b2d01c
parent 5 1280309e6bfc
permissions -rw-r--r--
new slides

package controllers
import play.api.mvc._

object Application extends Controller {

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