Index: trunk/index.cgi
===================================================================
--- trunk/index.cgi	(revision 41)
+++ trunk/index.cgi	(revision 42)
@@ -2,21 +2,6 @@
 use strict;
 
-package BookmarkApp::Dispatch;
-use base 'CGI::Application::Dispatch';
+use BookmarkApp::Dispatch;
 
-sub dispatch_args {
-    return {
-        table => [
-            '[get]'           => { app => 'BookmarkApp', rm => 'list' },
-            'list[get]'       => { app => 'BookmarkApp', rm => 'list' },
-            'feed[get]'       => { app => 'BookmarkApp', rm => 'feed' },
-            ':id[get]'        => { app => 'BookmarkApp', rm => 'view' },
-            ':id/:field[get]' => { app => 'BookmarkApp', rm => 'view_field' },
-            ':id?[post]'      => { app => 'BookmarkApp', rm => 'edit' },
-        ],
-    };
-}
-
-package main;
 # check for whether we are behind a reverse proxy, and adjust the SERVER_NAME accordingly
 # TODO: use something like Plack::Middlware::ReverseProxy instead
