Fix for the cases where controller throws exception and the page shall be rendered using standard view class rahter than PdfView one. The viewoptions array never has name set to Error controller, but it is using the original controller name it was throwed from.
Fix for the cases where controller throws exception and the page shall be rendered using standard view class rahter than PdfView one.
The viewoptions array never has name set to Error controller, but it is using the original controller name it was throwed from.

FriendsOfCake/CakePdf