in /app/config/routes.php
put this route :
Router::connect('/', array('controller' => 'contents', 'action' =>
'view',1));
On Mar 5, 6:39 am, kaushik <[email protected]> wrote:
> In front page i want to show same with "http;//www.test.com/contents/
> view/1", but the url must be like "http;//www.test.com/". How I can do
> it?
>
> On Mar 5, 4:08 pm, Miles J <[email protected]> wrote:
>
> > What exactly are you trying to do? You need to add links to
> > controllers/actions before you can view them.
>
> > I would suggest reading the whole manual before going any further.
> > Also upgrade to 1.2.
>
> >http://book.cakephp.org/
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---