Skip to content

Commit

Permalink
Merge pull request #33 from ghis22130/debug
Browse files Browse the repository at this point in the history
[BE] fix: Edit @RequestMapping
  • Loading branch information
bong6981 committed Apr 26, 2021
2 parents 21645f8 + 0e1fb9a commit 8d0900c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import java.util.List;

@RestController
@RequestMapping("/{sectionName:^.*(?!detail)}")
@RequestMapping("/{sectionName:main|soup|side}")
public class SectionController {

private final SectionService sectionService;
Expand All @@ -30,5 +30,4 @@ public ItemSummary sectionItem(@PathVariable("sectionName") String sectionName,
@PathVariable("itemId") Long itemId) {
return sectionService.itemSummary(sectionName, itemId);
}

}

0 comments on commit 8d0900c

Please sign in to comment.