progs/app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Sun, 22 Sep 2013 15:35:50 +0100
changeset 93 82ac034dcc9d
parent 6 app0.scala@4c40d4b2d01c
permissions -rw-r--r--
brought order into the repository

package controllers
import play.api.mvc._

object Application extends Controller {

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