progs/app0.scala
changeset 93 82ac034dcc9d
parent 6 4c40d4b2d01c
equal deleted inserted replaced
92:af1aeec504cb 93:82ac034dcc9d
       
     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