|
|
|
@ -5,6 +5,7 @@ import org.springframework.context.annotation.Configuration;
|
|
|
|
|
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
|
|
|
|
|
|
|
|
|
import cokr.xit.base.menu.web.MenuInjector;
|
|
|
|
|
import cokr.xit.foundation.boot.Foundation;
|
|
|
|
|
import cokr.xit.foundation.boot.MvcConfig;
|
|
|
|
|
|
|
|
|
|
/**web mvc 설정(기존 dispatcher servlet) 클래스
|
|
|
|
@ -25,6 +26,6 @@ public class MvcConfig2 extends MvcConfig {
|
|
|
|
|
@Override
|
|
|
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
|
|
|
// super.addInterceptors(registry);
|
|
|
|
|
registry.addInterceptor(menuInjector()).addPathPatterns(URL_PATTERNS);
|
|
|
|
|
registry.addInterceptor(menuInjector()).addPathPatterns(Foundation.urlPatterns());
|
|
|
|
|
}
|
|
|
|
|
}
|