"+" in URL is encoded " ", get rid of it.
On May 6, 4:02 pm, volka <volker.b...@googlemail.com> wrote:
> Hi,
> I hope someone has a hint for me.
>
> I have a controller named 'questions' and I'd like to set up the
> follwing route:
>
> Router::connect('/questions+answers/*', array('controller' =>
> 'questions', 'action' => 'view'));
>
> Unfortunately it brings up a missing controller error, when clicking
> on a link. When setting the the route like this
> Router::connect('/questions_answers/*', array('controller' =>
> 'questions', 'action' => 'view')); it works, so I assume the 'plus'-
> sign (+) is the problem here.
>
> Does anyone know how to do this?
>
> Thanks in advance,
> and kind regards,
> volka
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---