app0.scala
author Christian Urban <urbanc@in.tum.de>
Sun, 28 Oct 2012 01:23:00 +0000 (2012-10-28)
changeset 56 a6c138003019
parent 6 4c40d4b2d01c
permissions -rw-r--r--
added HW5
package controllers
import play.api.mvc._

object Application extends Controller {

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