aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-gates/routes.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates/routes.js')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-gates/routes.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/routes.js b/server/sonar-web/src/main/js/apps/quality-gates/routes.js
index 7db41853db8..495278f0d0a 100644
--- a/server/sonar-web/src/main/js/apps/quality-gates/routes.js
+++ b/server/sonar-web/src/main/js/apps/quality-gates/routes.js
@@ -21,20 +21,23 @@ const routes = [
{
getComponent(_, callback) {
require.ensure([], require =>
- callback(null, require('./containers/QualityGatesAppContainer').default));
+ callback(null, require('./containers/QualityGatesAppContainer').default)
+ );
},
childRoutes: [
{
getIndexRoute(_, callback) {
require.ensure([], require =>
- callback(null, { component: require('./components/Intro').default }));
+ callback(null, { component: require('./components/Intro').default })
+ );
}
},
{
path: 'show/:id',
getComponent(_, callback) {
require.ensure([], require =>
- callback(null, require('./containers/DetailsContainer').default));
+ callback(null, require('./containers/DetailsContainer').default)
+ );
}
}
]