Changeset 61 in bookmarks for trunk/app.psgi
- Timestamp:
- 08/23/13 16:50:59 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/app.psgi
r60 r61 8 8 9 9 use BookmarkController; 10 use Bookmarks;11 10 12 11 #TODO: allow a different config file on the command line, or set options from the command line … … 19 18 my $req = shift; 20 19 21 my $controller =BookmarkController->new({20 return BookmarkController->new({ 22 21 request => $req, 22 dbname => $config->{dbname}, 23 23 }); 24 my $bookmarks = Bookmarks->new({25 dbname => $config->{dbname},26 base_uri => $controller->base_uri,27 });28 $controller->bookmarks($bookmarks);29 return $controller;30 24 } 31 25
Note: See TracChangeset
for help on using the changeset viewer.