Merge pull request #1806 from nkjackzhang:patch-2

* pr/1806:
  Fix typos
This commit is contained in:
Stephane Nicoll
2018-04-25 10:07:10 +02:00

View File

@@ -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/*");
}
}