Skip to content

Commit dbf4a5a

Browse files
committed
2 parents ff6b270 + 288b53f commit dbf4a5a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,9 @@ package org.example.hello;
7575

7676
import io.avaje.http.api.Controller;
7777
import io.avaje.http.api.Get;
78-
import io.avaje.http.api.Path;
7978
import java.util.List;
8079

81-
@Path("/widgets")
82-
@Controller
80+
@Controller("/widgets")
8381
public class WidgetController {
8482
private final HelloComponent hello;
8583
public WidgetController(HelloComponent hello) {

0 commit comments

Comments
 (0)