Skip to content

Instantly share code, notes, and snippets.

@slywalker
Created March 9, 2010 04:23
Show Gist options
  • Save slywalker/326178 to your computer and use it in GitHub Desktop.
Save slywalker/326178 to your computer and use it in GitHub Desktop.
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