app0.scala
author Christian Urban <urbanc@in.tum.de>
Thu, 04 Oct 2012 13:18:32 +0100
changeset 25 599939aad971
parent 6 4c40d4b2d01c
permissions -rw-r--r--
C1

package controllers
import play.api.mvc._

object Application extends Controller {

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