Showing
1 changed file
with
1 additions
and
6 deletions
@@ -23,12 +23,7 @@ exports.index = (req, res, next) => { | @@ -23,12 +23,7 @@ exports.index = (req, res, next) => { | ||
23 | 23 | ||
24 | studentsModel.getStudentsData(channel, req).then(result => { | 24 | studentsModel.getStudentsData(channel, req).then(result => { |
25 | 25 | ||
26 | - let responseData = studentsModel.getTestData(channel); | ||
27 | - | ||
28 | - // let responseData = {}; | ||
29 | - Object.assign(responseData, result); | ||
30 | - | ||
31 | - res.render('students/index', responseData); | 26 | + res.render('students/index', result); |
32 | 27 | ||
33 | }).catch(next); | 28 | }).catch(next); |
34 | }; | 29 | }; |
-
Please register or login to post a comment