Figured out by myself.. You just have to add
$this->RequestHandler->setContent('rtf', 'application/rtf');
in app_controller.php beforeFilter()



On 11 Nov, 11:45, ark0n3 <[email protected]> wrote:
> Hi
> I'm banging my head against the wall trying to figure out why CakePHP
> does not parse the .rtf extension, after that I added the extension in
> Router::parseExtensions('json', 'xml', 'rtf', 'pdf'), /app/views/
> layouts/rtf/default.ctp and /app/views/controllername/rtf/
> action_name.ctp
>
> Please let me know if you know how CakePHP reacts to unknown
> extension.
>
> Any help is appreciated.
>
> Thanks

--

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=.


Reply via email to