Commit 2f642c3c authored by Clement Ho's avatar Clement Ho

Refactor dispatcher dashboard projects route

parent 1b16ffac
......@@ -244,6 +244,8 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
break;
case 'dashboard:projects:index':
case 'dashboard:projects:starred':
import('./pages/dashboard/projects').then(callDefault).catch(fail);
break;
case 'explore:projects:index':
case 'explore:projects:trending':
case 'explore:projects:starred':
......
import ProjectsList from '~/projects_list';
export default () => new ProjectsList();
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