app0.scala
changeset 5 1280309e6bfc
child 6 4c40d4b2d01c
equal deleted inserted replaced
4:31ccabd34430 5:1280309e6bfc
       
     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     
       
     9     Ok("Hello world!")
       
    10   }  
       
    11   
       
    12 }
       
    13 
       
    14 
       
    15