|
|
@ -61,7 +61,7 @@ sub startup { |
|
|
|
$ib->get ('/') -> to(action => 'create'); |
|
|
|
$ib->get ('/') -> to(action => 'create'); |
|
|
|
$ib->route('/:time', time => qr/\d+/) |
|
|
|
$ib->route('/:time', time => qr/\d+/) |
|
|
|
->via('GET') -> to(action => 'view'); |
|
|
|
->via('GET') -> to(action => 'view'); |
|
|
|
#$ib->get('/prune') -> to(action => 'prune'); |
|
|
|
$ib->get ('/prune') -> to(action => 'prune'); |
|
|
|
$ib->get ('/latest') -> to(action => 'latest') |
|
|
|
$ib->get ('/latest') -> to(action => 'latest') |
|
|
|
if ($conf->{show_latest}); |
|
|
|
if ($conf->{show_latest}); |
|
|
|
|
|
|
|
|
|
|
|