1
0
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:
Nicolas Lœuillet 2014-01-13 22:14:33 +01:00
parent da14eda026
commit 024e003943

View File

@ -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;