Thanks mscdex. Your 2nd suggestion is exactly what Im trying to do. Brian suggested adding the directory to webroot which works as intended.
However, I did have the pdfs in a the views folder and I tried the redirect() but I run into the same problem trying to define what the controller and action would be for a pdf file. How would I use this redirect to show the pdf file? Thanks! justclint On Feb 8, 10:08 pm, mscdex <[email protected]> wrote: > Generally if you are manually rendering a view, you should do: > $this->autoRender = false; > > If you are trying to get the PDF to show up instead of the controller > action's view, you could try doing a $this->redirect() as documented > here:http://book.cakephp.org/view/425/redirect --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
