diff --git a/controllers/administration.js b/controllers/administration.js index 8594ab4e7f..2f87dfff69 100644 --- a/controllers/administration.js +++ b/controllers/administration.js @@ -1955,7 +1955,7 @@ router.post( 'ADMIN_VIEW', ); if (isAdmin) { - res.redirect('/administration/classes/'); + Configuration.get('FEATURE_SHOW_NEW_CLASS_VIEW_ENABLED') ? res.redirect('/administration/groups/classes/') : res.redirect('/administration/classes/'); } else { res.redirect(`/administration/classes/${data._id}/manage`); }