Merge branch 'dispatcher-boards' into 'master'

Refactor dispatcher project boards path

See merge request gitlab-org/gitlab-ce!16374
This commit is contained in:
Fatih Acet 2018-01-11 20:50:29 +00:00
commit 31b3ccb5d2
2 changed files with 11 additions and 2 deletions

View File

@ -148,8 +148,10 @@ import Activities from './activities';
break;
case 'projects:boards:show':
case 'projects:boards:index':
shortcut_handler = new ShortcutsNavigation();
new UsersSelect();
import('./pages/projects/boards/index')
.then(callDefault)
.catch(fail);
shortcut_handler = true;
break;
case 'projects:merge_requests:index':
case 'projects:issues:index':

View File

@ -0,0 +1,7 @@
import UsersSelect from '~/users_select';
import ShortcutsNavigation from '~/shortcuts_navigation';
export default () => {
new UsersSelect(); // eslint-disable-line no-new
new ShortcutsNavigation(); // eslint-disable-line no-new
};