Quick question, why are you routing it to a controller, if the path is
basically the same?

On Feb 7, 7:19 pm, Kyle Decot <kdec...@gmail.com> wrote:
> I store all of my full size images at something like /img/photos/
> filename_goes_here.jpg I would like to be able to add a route so that
> if I visit /img/photos/75x75_filename_goes_here.jpg it will be handled
> by my images controller. I've tried adding:
>
> Router::connect('/img/photos/75x75_*', array('controller' => 'images',
> 'action' => 'index'));
>
> However I get the error:
>
> Error: ImgController could not be found.
>
> Why is cake trying to connect this to ImgController? How can I fix
> this so that it will route to images_controller

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to