mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
The default home route was correct after all ;)
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@166 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
1f8dd75a34
commit
eda3d2cfee
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
|||
* 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'));
|
||||
$Route->connect ('/', array('controller'=>'Pages', 'action'=>'view', 'home'));
|
||||
|
||||
/**
|
||||
* Here we connect url '/test' to our test controller. This is helpfull in
|
||||
|
|
Loading…
Add table
Reference in a new issue