Skip to content
Browse files

use dispatch version with HTTP method

  • Loading branch information...
1 parent 9cf2d5a commit 6984cf9fc5721cb62df68852235c34726d7a2b1a @hellogerard committed Sep 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 public/index.php
View
4 public/index.php
@@ -24,11 +24,11 @@ function before()
// application
//
-dispatch('/', function() {
+dispatch_get('/', function() {
return html('index.phtml');
});
-dispatch('/shopsavvy/:id', function($id) {
+dispatch_get('/shopsavvy/:id', function($id) {
if (empty($id))
{

0 comments on commit 6984cf9

Please sign in to comment.
Something went wrong with that request. Please try again.