Topic
1 reply Latest Post - ‏2007-08-27T20:25:23Z by krook
SystemAdmin
SystemAdmin
1731 Posts
ACCEPTED ANSWER

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
    krook
    39 Posts
    ACCEPTED ANSWER

    Re: cake php - easy question

    ‏2007-08-27T20:25:23Z  in response to SystemAdmin
    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