Pinned topic cake php - easy question
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
I know this is a bit of a simple question. but how do tie an action/view by accessing the root of my project?
Updated on 2007-08-27T20:25:23Z at 2007-08-27T20:25:23Z by krook
krook 1100006T3T39 Posts
Re: cake php - easy question2007-08-27T20:25:23ZThis is the accepted answer. This is the accepted answer.Hi Rebecca,
You can map the route of your Web application to a particular controller and view by updating /app/config/routes.php
$Route->connect('/', array('controller' => 'pages', 'action' => 'display', 'index'));
Check out Section 3 on Routes in this page of the CakePHP manual: http://manual.cakephp.org/chapter/configuration