Skip to content

Commit

Permalink
Test with Qute fluent API
Browse files Browse the repository at this point in the history
Signed-off-by: azerr <azerr@redhat.com>
  • Loading branch information
angelozerr committed May 23, 2023
1 parent 7d08dc2 commit b75853b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ private Template requireNonNull(Template page2, String string) {
@GET
@Produces(MediaType.TEXT_HTML)
public TemplateInstance get(@QueryParam("name") String name) {
hello.data("age", 12);
hello.data("height", 1.50, "weight", 50L);
return hello.data("name", name);
return hello.data("height", 1.50, "weight", 50L)
.data("age", 12)
.data("name", name);
}

@GET
Expand Down

0 comments on commit b75853b

Please sign in to comment.