diff -r 4cbd6ca025e6 -r a0aebea668f9 progs/Application0.scala --- a/progs/Application0.scala Tue Sep 16 11:31:55 2014 +0100 +++ b/progs/Application0.scala Wed Sep 17 11:47:11 2014 +0100 @@ -1,5 +1,6 @@ package controllers +import play.api._ import play.api.mvc._ // hello world program: @@ -8,9 +9,9 @@ object Application extends Controller { // answering a GET request - val index = Action { request => - - Ok("

Hello world!

").as(HTML) + def index = Action { + Ok(views.html.index("222Your new application is ready.")) + //Ok("Hello World") } }