Handle links to unpublished variants in Litium 8

In Litium 7, when browsing to an unpublished variant, the display template action method was run so we could make smart redirects. In Litium 8, it seems the action method isn’t run. Can we achieve the same thing as in Litium 7?

Hi you can may be use PageNotFoundResolverDecorator to redirect user.