Commit 95f41e2d authored by Vytor Calixto's avatar Vytor Calixto 👾

Corrigida rota dos uploads

parent baba5e58
......@@ -12,7 +12,7 @@ var Materia = require(libs + 'model/materia')
router.use(role.isLoggedIn())
router.use(role.isModerador())
router.get('/uploads', function(req, res) {
router.get('/', function(req, res) {
Arquivo.find({status: 'pendente'})
.populate('materia')
.populate('professor')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment