mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-19 03:29:37 +02:00
Apps reordering. Sorting apps while adding them
This commit is contained in:
parent
9a1ec76ffd
commit
ce173f2c42
12 changed files with 219 additions and 53 deletions
|
@ -6,7 +6,8 @@ const {
|
|||
getApps,
|
||||
getApp,
|
||||
updateApp,
|
||||
deleteApp
|
||||
deleteApp,
|
||||
reorderApps
|
||||
} = require('../controllers/apps');
|
||||
|
||||
router
|
||||
|
@ -20,4 +21,8 @@ router
|
|||
.put(updateApp)
|
||||
.delete(deleteApp);
|
||||
|
||||
router
|
||||
.route('/0/reorder')
|
||||
.put(reorderApps);
|
||||
|
||||
module.exports = router;
|
Loading…
Add table
Add a link
Reference in a new issue