Page view, logout
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 4 Oct 2016 13:56:54 +0000 (15:56 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 4 Oct 2016 13:56:54 +0000 (15:56 +0200)
src/main/java/com/prueba/view/page/PageImpl.java

index d0de79f..7af0145 100644 (file)
@@ -15,7 +15,7 @@ public class PageImpl {
                            .body()
                               .h1().content("PAGE: " + number)
                               .h1().content("Hello: " + userName)
-                              .h1().a(href("/app/login/logout.html"))
+                              .h1().a(href("/app/login/logout.html")).write("Logout")._a()._h1()
                            ._body()
                          ._html()
                          .toHtml();