• 1 reply
  • Latest Post - ‏2007-08-27T20:25:23Z by krook
1731 Posts

Pinned topic cake php - easy question

‏2007-08-19T22:36:40Z |
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
    39 Posts

    Re: cake php - easy question

    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: