1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-18 21:52:19 -05:00
This commit is contained in:
Vincent Jousse 2013-11-22 23:49:02 +01:00
parent 723fce50b6
commit 324e96b48f

View File

@ -6,7 +6,7 @@ $api->get('/', function () { return 'API home page'; });
$api->get('/entries', function () use ($app) { $api->get('/entries', function () use ($app) {
$entries = $app['entry_api']->getEntries(); $entries = $app['entry_api']->getEntries();
return $app->json($entry, 200); return $app->json($entries, 200);
}); });
return $api; return $api;