Started adding results
This commit is contained in:
1 parent
65fc2b753b
commit
6761aaa413
5 files changed
+122
-6
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ exports.getIndex = async function(req, res) {
|
||||
|
||||
// GET /test/list - list of tests
|
||||
exports.getList = async function(req, res) {
|
||||
var tests = await Test.findAll();
|
||||
var tests = await Test.findAll({order: [['updatedAt', 'DESC']]});
|
||||
res.render('test/list', {
|
||||
tests: tests
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user