Maybe if you create a route for it:

Router::connect(
        '/users/index', // make this the way you want it to look
        array(
                'controller' => 'users',
                'action' => 'index'
        )
);

On Sat, May 23, 2009 at 10:21 AM, Abhishek <[email protected]> wrote:
>
> Hi,
> When i use this to generate the <a> link
> $html->link('Go',array('controller'=>'users','action'=>'index'));
>
> The link generated by the above statement doesnt contain .. the action
> as index ..
>
> I know /controller/  and /controller/index is the same thing ..
>
> I need it for some other reason .. is there any way i can force the
> helper to show index also in the link ..
>
>
> Abhishek
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to