source: bookmarks/trunk/index.cgi @ 29

Last change on this file since 29 was 29, checked in by peter, 11 years ago

added the javascript bookmarklet link to the bottom of the list view

  • Property svn:executable set to *
File size: 605 bytes
Line 
1#!/usr/bin/perl -w
2use strict;
3
4package BookmarkApp::Dispatch;
5use base 'CGI::Application::Dispatch';
6
7sub dispatch_args {
8    return {
9        table => [
10            '[get]'              => { app => 'BookmarkApp', rm => 'list' },
11            'list[get]'          => { app => 'BookmarkApp', rm => 'list' },
12            'feed[get]'          => { app => 'BookmarkApp', rm => 'feed' },
13            ':id/:field?[get]'   => { app => 'BookmarkApp', rm => 'view' },
14            ':id?[post]'         => { app => 'BookmarkApp', rm => 'edit' },
15        ],
16    };
17}
18
19package main;
20BookmarkApp::Dispatch->dispatch();
Note: See TracBrowser for help on using the repository browser.