mirror of
https://github.com/moparisthebest/wallabag
synced 2025-01-08 04:08:10 -05:00
[add] route for bookmarks
This commit is contained in:
parent
da14eda026
commit
024e003943
@ -88,4 +88,11 @@ $front->get('/archive', function () use ($app) {
|
|||||||
return $app['twig']->render('archive.twig', array('entries' => $entries));
|
return $app['twig']->render('archive.twig', array('entries' => $entries));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$front->get('/bookmarks', function () use ($app) {
|
||||||
|
|
||||||
|
$entries = $app['entry_api']->getBookmarks();
|
||||||
|
|
||||||
|
return $app['twig']->render('bookmarks.twig', array('entries' => $entries));
|
||||||
|
});
|
||||||
|
|
||||||
return $front;
|
return $front;
|
||||||
|
Loading…
Reference in New Issue
Block a user