more comments.

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@137 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
brego 2005-05-17 22:42:43 +00:00
parent 4da3ef5b9b
commit 2f71ce4e4a
2 changed files with 22 additions and 18 deletions

View file

@ -14,8 +14,9 @@
//////////////////////////////////////////////////////////////////////////
/**
* Purpose: routes.php
* Enter description here...
* In this file, you set up routes to your controllers and their actions.
* Routes are very important mechanism that allows you to freely connect
* different urls to chosen controllers and their actions (functions).
*
* @filesource
* @author Cake Authors/Developers
@ -32,14 +33,15 @@
*/
/**
* Homepage
*
*/
* Here, we are connecting '/' (base path) to controller called 'Pages', and
* its action called 'index' - note there are no additional params passed.
*/
$Route->connect ('/', array('controller'=>'Pages', 'action'=>'index'));
/**
* Tests
*
*/
* Here we connect url '/test' to our test controller. This is helpfull in
* developement.
*/
$Route->connect ('/test', array('controller'=>'Tests', 'action'=>'test_all'));
?>
?>

View file

@ -14,8 +14,9 @@
//////////////////////////////////////////////////////////////////////////
/**
* Purpose: routes.php
* Enter description here...
* In this file, you set up routes to your controllers and their actions.
* Routes are very important mechanism that allows you to freely connect
* different urls to chosen controllers and their actions (functions).
*
* @filesource
* @author Cake Authors/Developers
@ -32,14 +33,15 @@
*/
/**
* Homepage
*
*/
* Here, we are connecting '/' (base path) to controller called 'Pages', and
* its action called 'index' - note there are no additional params passed.
*/
$Route->connect ('/', array('controller'=>'Pages', 'action'=>'index'));
/**
* Tests
*
*/
* Here we connect url '/test' to our test controller. This is helpfull in
* developement.
*/
$Route->connect ('/test', array('controller'=>'Tests', 'action'=>'test_all'));
?>
?>