Routing to /img a request to /app/img
Hi all!
One question on routing: due to a poor previous configuration I would
need all the requests for image files sent to /app/attachments/... be
seen by Cake as sent to /attachments/... (where /attachments is a
folder in webroot, just like /img) so that the image can be served
instead of getting an "Error: [MissingActionException] Action
AppController::attachments() could not be found".
How can I achieve that?
I would really appreciate if anyone could point me to the right
direction.
Best,
Mario
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home