app0.scala
author Christian Urban <urbanc@in.tum.de>
Tue, 30 Oct 2012 07:11:42 +0000
changeset 59 8b44bd114292
parent 6 4c40d4b2d01c
permissions -rw-r--r--
added slides

package controllers
import play.api.mvc._

object Application extends Controller {

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