Attic/scala/app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Sat, 03 Jan 2015 23:14:47 +0000
changeset 369 6c7996b6b471
parent 198 2ce98ee39990
permissions -rw-r--r--
update

package controllers
import play.api.mvc._

object Application extends Controller {

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