diff options
author | 2022-01-06 23:42:11 +0100 | |
---|---|---|
committer | 2022-01-06 23:42:11 +0100 | |
commit | cd6a573617e85f901a431ebf9216a5c4ca97ed3b (patch) | |
tree | 931cf27a4a6b147932aed19131e3529b27d9f0e3 /src/internal-server/start | |
parent | 5.6.9-nightly.1 [skip ci] (diff) | |
download | ferdium-app-cd6a573617e85f901a431ebf9216a5c4ca97ed3b.tar.gz ferdium-app-cd6a573617e85f901a431ebf9216a5c4ca97ed3b.tar.zst ferdium-app-cd6a573617e85f901a431ebf9216a5c4ca97ed3b.zip |
Review recipes routes
Diffstat (limited to 'src/internal-server/start')
-rw-r--r-- | src/internal-server/start/routes.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/internal-server/start/routes.js b/src/internal-server/start/routes.js index 25ebed8ae..c8cab2164 100644 --- a/src/internal-server/start/routes.js +++ b/src/internal-server/start/routes.js | |||
@@ -50,13 +50,11 @@ Route.group(() => { | |||
50 | Route.get('me/services', 'ServiceController.list'); | 50 | Route.get('me/services', 'ServiceController.list'); |
51 | 51 | ||
52 | // Recipe store | 52 | // Recipe store |
53 | Route.get('recipe', 'ServiceController.list'); | ||
54 | Route.post('recipes/update', 'ServiceController.update'); | ||
55 | Route.get('recipes', 'RecipeController.list'); | 53 | Route.get('recipes', 'RecipeController.list'); |
56 | Route.get('recipes/download/:recipe', 'RecipeController.download'); | ||
57 | Route.get('recipes/search', 'RecipeController.search'); | 54 | Route.get('recipes/search', 'RecipeController.search'); |
58 | Route.get('recipes/popular', 'RecipeController.popularRecipes'); | 55 | Route.get('recipes/popular', 'RecipeController.popularRecipes'); |
59 | Route.get('recipes/update', 'RecipeController.update'); | 56 | Route.get('recipes/download/:recipe', 'RecipeController.download'); |
57 | Route.post('recipes/update', 'RecipeController.update'); | ||
60 | 58 | ||
61 | // Workspaces | 59 | // Workspaces |
62 | Route.put('workspace/:id', 'WorkspaceController.edit'); | 60 | Route.put('workspace/:id', 'WorkspaceController.edit'); |