Fix typos

Closes gh-1806
This commit is contained in:
nkjackzhang
2018-04-25 10:07:34 +02:00
committed by Stephane Nicoll
parent 3551dd92fb
commit f9e31b503c
+2 -2
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/*");
}
}