Created new EnsurePublishedContentRequestAttribute for custom routing to still be able to render macros.