mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
more comments.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@137 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
4da3ef5b9b
commit
2f71ce4e4a
2 changed files with 22 additions and 18 deletions
|
@ -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'));
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -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'));
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue