diff --git a/controllers/files.js b/controllers/files.js index d8b1a3f2dd..218cedec46 100644 --- a/controllers/files.js +++ b/controllers/files.js @@ -707,7 +707,7 @@ router.get('/courses/:courseId/:folderId?', FileGetter, async (req, res, next) = courseId: req.params.courseId, ownerId: req.params.courseId, toCourseText: res.$t('global.button.toCourse'), - courseUrl: `/rooms/${req.params.courseId}/`, + courseUrl: `/rooms/${req.params.courseId}`, canEditPermissions: true, parentId: req.params.folderId, ...res.locals.files,