diff --git a/src/main/java/cokr/xit/base/menu/web/MenuInjector.java b/src/main/java/cokr/xit/base/menu/web/MenuInjector.java index 621c9b3..d684b27 100644 --- a/src/main/java/cokr/xit/base/menu/web/MenuInjector.java +++ b/src/main/java/cokr/xit/base/menu/web/MenuInjector.java @@ -8,6 +8,7 @@ import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import org.springframework.stereotype.Component; import org.springframework.web.servlet.ModelAndView; import com.fasterxml.jackson.databind.ObjectMapper; @@ -20,6 +21,7 @@ import cokr.xit.foundation.web.RequestInterceptor; /**현재 사용자가 사용할 수 있는 메뉴 목록을 ModelAndView에 "_menus" 애트리뷰트로 설정한다. * @author mjkhan */ +@Component("menuInjector") public class MenuInjector extends RequestInterceptor { private static final String HTML_GET = "html-get"; // private static final String HTML_POST = "html-post";