diff options
Diffstat (limited to 'app/Controllers/Http/StaticController.js')
-rw-r--r-- | app/Controllers/Http/StaticController.js | 12 |
1 files changed, 0 insertions, 12 deletions
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 { | |||
93 | }); | 93 | }); |
94 | } | 94 | } |
95 | 95 | ||
96 | popularRecipes({ | ||
97 | response, | ||
98 | }) { | ||
99 | return response.send( | ||
100 | fs | ||
101 | .readJsonSync(path.join( | ||
102 | Helpers.appRoot(), 'recipes', 'all.json', | ||
103 | )) | ||
104 | .filter((recipe) => recipe.featured), | ||
105 | ); | ||
106 | } | ||
107 | |||
108 | // Show announcements | 96 | // Show announcements |
109 | async announcement({ | 97 | async announcement({ |
110 | response, | 98 | response, |