attached current route pageType to httpContext