app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 19 Nov 2012 01:11:52 +0000
changeset 74 fb14a8e1b00d
parent 6 4c40d4b2d01c
permissions -rw-r--r--
added hw 7

package controllers
import play.api.mvc._

object Application extends Controller {

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