Attic/scala/app0.scala
changeset 198 2ce98ee39990
parent 197 9c968d0de9a0
equal deleted inserted replaced
197:9c968d0de9a0 198:2ce98ee39990
       
     1 package controllers
       
     2 import play.api.mvc._
       
     3 
       
     4 object Application extends Controller {
       
     5 
       
     6   // answering a GET request
       
     7   val index = Action { request =>
       
     8     Ok("Hello world!")
       
     9   }  
       
    10 }
       
    11 
       
    12 
       
    13