From 91c69428ed0dc2dd26b00c6dd5a6684f25515a34 Mon Sep 17 00:00:00 2001 From: Abin Mn Date: Tue, 26 Oct 2021 21:18:20 +0530 Subject: Cleanup/remove feature toggle for todo, workspace, service proxy (#2134) * Remove DEFAULT_FEATURES_CONFIG from config * Remove static controller Co-authored-by: Madhuri B --- .../app/Controllers/Http/StaticController.js | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/internal-server/app/Controllers/Http/StaticController.js (limited to 'src/internal-server/app/Controllers/Http') diff --git a/src/internal-server/app/Controllers/Http/StaticController.js b/src/internal-server/app/Controllers/Http/StaticController.js deleted file mode 100644 index 33e0e52d9..000000000 --- a/src/internal-server/app/Controllers/Http/StaticController.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Controller for routes with static responses - */ - -import { DEFAULT_FEATURES_CONFIG } from '../../../../config'; - -// TODO: This endpoint and associated code needs to be remoeved as cleanup -class StaticController { - // Enable all features - features({ response }) { - return response.send(DEFAULT_FEATURES_CONFIG); - } - - // Return an empty array - emptyArray({ response }) { - return response.send([]); - } -} - -export default StaticController; -- cgit v1.2.3-54-g00ecf