Skip to content

Commit

Permalink
feat: SectionController mapping except /detail
Browse files Browse the repository at this point in the history
- SectionController에서 detail을 제외하고 매핑하도록 regex 추가

issue: #6
  • Loading branch information
kihyuk-sung committed Apr 22, 2021
1 parent 8946833 commit 1ea2b8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import java.util.List;

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

private final SectionService sectionService;
Expand Down

0 comments on commit 1ea2b8d

Please sign in to comment.