diff options
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 2 | ||||
-rw-r--r-- | app/assets/javascripts/pages/dashboard/projects/index.js | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index 9e8b2acfe1b..73eea4877ec 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -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': diff --git a/app/assets/javascripts/pages/dashboard/projects/index.js b/app/assets/javascripts/pages/dashboard/projects/index.js new file mode 100644 index 00000000000..c88cbf1a6ba --- /dev/null +++ b/app/assets/javascripts/pages/dashboard/projects/index.js @@ -0,0 +1,3 @@ +import ProjectsList from '~/projects_list'; + +export default () => new ProjectsList(); |