Browse Source

Fix typos

Closes gh-1806
pull/1807/head
nkjackzhang 7 years ago committed by Stephane Nicoll
parent
commit
24e8afeb73
  1. 4
      src/docs/asciidoc/web/webmvc.adoc

4
src/docs/asciidoc/web/webmvc.adoc

@ -4106,8 +4106,8 @@ In Java config, register interceptors to apply to incoming requests: @@ -4106,8 +4106,8 @@ In Java config, register interceptors to apply to incoming requests:
@Override
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(new LocaleInterceptor());
registry.addInterceptor(new ThemeInterceptor()).addPathPatterns("/**").excludePathPatterns("/admin/**");
registry.addInterceptor(new LocaleChangeInterceptor());
registry.addInterceptor(new ThemeChangeInterceptor()).addPathPatterns("/**").excludePathPatterns("/admin/**");
registry.addInterceptor(new SecurityInterceptor()).addPathPatterns("/secure/*");
}
}

Loading…
Cancel
Save