Fix typos

Closes gh-1806
This commit is contained in:
nkjackzhang
2018-04-25 15:10:32 +08:00
committed by Stephane Nicoll
parent e0ea296e89
commit 24e8afeb73

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