summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/dispatcher.js
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-10-03 18:23:25 +0100
committerFilipa Lacerda <filipa@gitlab.com>2017-10-03 18:23:25 +0100
commitb3c9f8c7248574154d2c04c1756d534672d6063f (patch)
tree8e2bff2ae14fe1ad41a564983fa9f029e7dbcad5 /app/assets/javascripts/dispatcher.js
parentc2df22a7d3ae715539ef1e4de9b40452ed180bdf (diff)
downloadgitlab-ce-b3c9f8c7248574154d2c04c1756d534672d6063f.tar.gz
Adjust to route change
Adjust toggle status Add confirmation box Adds permissions checks
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-rw-r--r--app/assets/javascripts/dispatcher.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js
index 7131889a0a0..29f9f9710ae 100644
--- a/app/assets/javascripts/dispatcher.js
+++ b/app/assets/javascripts/dispatcher.js
@@ -524,7 +524,7 @@ import { ajaxGet, convertPermissionToBoolean } from './lib/utils/common_utils';
case 'admin:impersonation_tokens:index':
new gl.DueDateSelectors();
break;
- case 'projects:clusters:edit':
+ case 'projects:clusters:show':
import(/* webpackChunkName: "clusters" */ './clusters')
.then(cluster => new cluster.default()) // eslint-disable-line new-cap
.catch(() => {});