Fix typos
Closes gh-1806
This commit is contained in:
committed by
Stephane Nicoll
parent
e0ea296e89
commit
24e8afeb73
@@ -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/*");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user