Skip to content

Commit f13e244

Browse files
committed
Update index.html
1 parent 78d99d5 commit f13e244

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,18 @@ <h3>Simple & Elegant</h3>
170170
return "Hello, World!";
171171
}
172172

173-
@Action("users")
173+
@Action("user")
174174
public Builder getUser(String id) {
175175
// userService.findById(id);
176176
return new Builder();
177177
}
178178

179+
@Action("users")
180+
public Builders getUsers() {
181+
// userService.findAll();
182+
return new Builders();
183+
}
184+
179185
@Override
180186
public void init() {
181187
this.setTemplateRequired(false);

0 commit comments

Comments
 (0)