mirror of
https://github.com/moparisthebest/wallabag
synced 2025-01-06 19:28:00 -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));
|
||||
});
|
||||
|
||||
$front->get('/bookmarks', function () use ($app) {
|
||||
|
||||
$entries = $app['entry_api']->getBookmarks();
|
||||
|
||||
return $app['twig']->render('bookmarks.twig', array('entries' => $entries));
|
||||
});
|
||||
|
||||
return $front;
|
||||
|
Loading…
Reference in New Issue
Block a user