app0.scala
author Christian Urban <urbanc@in.tum.de>
Tue, 16 Oct 2012 14:09:34 +0100
changeset 47 646e6587c752
parent 6 4c40d4b2d01c
permissions -rw-r--r--
added

package controllers
import play.api.mvc._

object Application extends Controller {

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