Skip to content

Commit

Permalink
Fix reference to configurePathMatching in code sample
Browse files Browse the repository at this point in the history
  • Loading branch information
sheip9 authored and snicoll committed Jul 26, 2024
1 parent 5284981 commit 7a2fc2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework-docs/modules/ROOT/pages/web/webflux/config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ Java::
public class WebConfig implements WebFluxConfigurer {
@Override
public void configurePathMatch(PathMatchConfigurer configurer) {
public void configurePathMatching(PathMatchConfigurer configurer) {
configurer.addPathPrefix(
"/api", HandlerTypePredicate.forAnnotation(RestController.class));
}
Expand All @@ -715,7 +715,7 @@ Kotlin::
class WebConfig : WebFluxConfigurer {
@Override
fun configurePathMatch(configurer: PathMatchConfigurer) {
fun configurePathMatching(configurer: PathMatchConfigurer) {
configurer.addPathPrefix(
"/api", HandlerTypePredicate.forAnnotation(RestController::class.java))
}
Expand Down

0 comments on commit 7a2fc2f

Please sign in to comment.