Changeset 98 in bookmarks
- Timestamp:
- 06/10/15 16:17:18 (10 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Bookmarks/Controller.pm
r95 r98 27 27 ); 28 28 has request => ( 29 is => 'ro', 30 required => 1, 29 is => 'rw', 31 30 ); 32 31 -
trunk/lib/BookmarksApp.pm
r92 r98 94 94 } 95 95 ); 96 $self->_controller( 97 Bookmarks::Controller->new({ 98 dbname => $self->config->{dbname}, 99 }) 100 ); 96 101 } 97 102 … … 101 106 102 107 # initialize the controller based on this request 103 $self->_controller( 104 Bookmarks::Controller->new({ 105 request => Plack::Request->new($env), 106 dbname => $self->config->{dbname}, 107 }) 108 ); 108 $self->_controller->request(Plack::Request->new($env)); 109 109 110 110 # dispatch to the app
Note: See TracChangeset
for help on using the changeset viewer.