Created
March 9, 2010 04:23
-
-
Save slywalker/326178 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/workshop/config/routes.php b/workshop/config/routes.php | |
index 2858312..6c56a03 100755 | |
--- a/workshop/config/routes.php | |
+++ b/workshop/config/routes.php | |
@@ -30,7 +30,8 @@ | |
* its action called 'display', and we pass a param to select the view file | |
* to use (in this case, /app/views/pages/home.ctp)... | |
*/ | |
- Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home')); | |
+ //Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home')); | |
+ Router::connect('/', array('controller' => 'posts', 'action' => 'index')); | |
/** | |
* ...and connect the rest of 'Pages' controller's urls. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment