i thought about that earlier but i have an error:
Missing controller
You are seeing this error because controller ThumbController could not
be found.
but when i replace
$Route->connect('/thumb/:link', array('controller' => 'obrazki',
'action' => 'skaluj'));
with
$Route->connect('/thumb/*', array('controller' => 'obrazki', 'action'
=> 'skaluj'));
it works..BUT...
i really cant do it with regular expression (without join();) ?
Thanks.
On 22 Maj, 16:25, fr3nch13 <[EMAIL PROTECTED]> wrote:
> try
> $Route->connect('/thumb/:link', array('controller' => 'obrazki',
> 'action' => 'skaluj'));
>
> then in your skaluj action in your controller, take a look at
> debug($this->params);
> It should have the info you need and you should be able to do a
> join(), etc.
>
> On May 22, 9:26 am,ar2oor<[EMAIL PROTECTED]> wrote:
>
> > i got:
>
> > $Route->connect('/thumb/:link', array('controller' => 'obrazki',
> > 'action' => 'skaluj'), array('link' => '(.)*'));
>
> >www.asd.com/thumb/imgs/asd/dsa/dsa.jpg
>
> > and i want to
> > link=imgs/asd/dsa/dsa.jpg
>
> > but i doesn't work :/
>
> > any ideas ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---