Refactor dispatcher dashboard projects route

This commit is contained in:
Clement Ho 2018-01-09 08:37:36 -06:00
parent bd50ecbad8
commit 67b575d053
2 changed files with 5 additions and 0 deletions

View file

@ -216,6 +216,8 @@ import Activities from './activities';
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':

View file

@ -0,0 +1,3 @@
import ProjectsList from '~/projects_list';
export default () => new ProjectsList();