So I have set a custom route for a post that calls a controller and finally produces a twig view, which all works nicely. However, this view is only active in the final published version of the post. Is there a way to hook the template into Draft previews?
So I have set a custom route for a post that calls a controller and finally produces a twig view, which all works nicely. However, this view is only active in the final published version of the post. Is there a way to hook the template into Draft previews?