Skip to content

Commit 2231e6f

Browse files
committed
Update code example.
1 parent 68ce55e commit 2231e6f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

index.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,20 @@ <h3>Simple & Elegant</h3>
169169
return "Hello, World!";
170170
}
171171

172-
@Action("users/{id}")
172+
@Action("users")
173173
public User getUser(String id) {
174174
return userService.findById(id);
175175
}
176+
177+
@Override
178+
public void init() {
179+
// TODO Auto-generated method stub
180+
}
181+
182+
@Override
183+
public String version() {
184+
return "1.0";
185+
}
176186
}</code></pre>
177187
</div>
178188
</div>

0 commit comments

Comments
 (0)