- Timestamp:
- 05/31/13 12:40:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BookmarkApp.pm
r41 r43 27 27 $base_uri->host($ENV{SERVER_NAME}); 28 28 $base_uri->port($ENV{SERVER_PORT}); 29 $base_uri->path($ENV{SCRIPT_NAME} . '/');29 $base_uri->path($ENV{SCRIPT_NAME}); 30 30 31 31 my $bookmarks = Bookmarks->new({ … … 370 370 my $title = $q->param('title'); 371 371 my @tags = split ' ', $q->param('tags'); 372 $self->_bookmarks->add({372 my $bookmark = $self->_bookmarks->add({ 373 373 uri => $uri, 374 374 title => $title, … … 387 387 $self->header_type('redirect'); 388 388 $self->header_props( 389 -uri => $ ENV{REQUEST_URI},389 -uri => $bookmark->bookmark_uri->canonical, 390 390 -status => 303, 391 391 );
Note: See TracChangeset
for help on using the changeset viewer.