リビジョン 3bf0e002 app/Config/routes.php
| app/Config/routes.php | ||
|---|---|---|
| 25 | 25 |
* its action called 'display', and we pass a param to select the view file |
| 26 | 26 |
* to use (in this case, /app/View/Pages/home.ctp)... |
| 27 | 27 |
*/ |
| 28 |
Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home'));
|
|
| 28 |
Router::connect('/', array('controller' => 'Top', 'action' => 'index', 'home'));
|
|
| 29 | 29 |
/** |
| 30 | 30 |
* ...and connect the rest of 'Pages' controller's URLs. |
| 31 | 31 |
*/ |
| 32 |
Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display'));
|
|
| 32 |
//Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display'));
|
|
| 33 | 33 |
|
| 34 | 34 |
/** |
| 35 | 35 |
* Load all plugin routes. See the CakePlugin documentation on |
他の形式にエクスポート: Unified diff