Changeset 30 in bookmarks for trunk/index.cgi


Ignore:
Timestamp:
05/23/13 17:07:58 (11 years ago)
Author:
peter
Message:
  • added a separate run mode for the field resources (view_field)
  • added an api outline/plan
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.cgi

    r29 r30  
    88    return { 
    99        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' }, 
     10            '[get]'           => { app => 'BookmarkApp', rm => 'list' }, 
     11            'list[get]'       => { app => 'BookmarkApp', rm => 'list' }, 
     12            'feed[get]'       => { app => 'BookmarkApp', rm => 'feed' }, 
     13            ':id[get]'        => { app => 'BookmarkApp', rm => 'view' }, 
     14            ':id/:field[get]' => { app => 'BookmarkApp', rm => 'view_field' }, 
     15            ':id?[post]'      => { app => 'BookmarkApp', rm => 'edit' }, 
    1516        ], 
    1617    }; 
Note: See TracChangeset for help on using the changeset viewer.