From e1cc68d8bf4d473307638607dfee98a90bc7a6be Mon Sep 17 00:00:00 2001 From: kytwb Date: Thu, 6 Jan 2022 23:10:16 +0100 Subject: Review recipes routes, fix download recipe response type --- app/Controllers/Http/StaticController.js | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'app/Controllers/Http/StaticController.js') diff --git a/app/Controllers/Http/StaticController.js b/app/Controllers/Http/StaticController.js index 7854fd6..aad1059 100644 --- a/app/Controllers/Http/StaticController.js +++ b/app/Controllers/Http/StaticController.js @@ -93,18 +93,6 @@ class StaticController { }); } - popularRecipes({ - response, - }) { - return response.send( - fs - .readJsonSync(path.join( - Helpers.appRoot(), 'recipes', 'all.json', - )) - .filter((recipe) => recipe.featured), - ); - } - // Show announcements async announcement({ response, -- cgit v1.2.3-70-g09d2