Plugin for rendering PDF from the controller