progs/app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 23 Sep 2014 10:31:03 +0100
changeset 168 793ae8926a97
parent 93 82ac034dcc9d
permissions -rw-r--r--
polished

package controllers
import play.api.mvc._

object Application extends Controller {

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