aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/utils/startReactApp.js
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-11-28 14:32:23 +0100
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-12-11 18:00:33 +0100
commit5038ceecaa7a09b8cf87e7d9f2f27c22e363187d (patch)
treea4aa6fcd1e4f3c2893b45291121d6af22995bf51 /server/sonar-web/src/main/js/app/utils/startReactApp.js
parentcd9f8d636f2b057b4c7fb6f0846e5843d44b7956 (diff)
downloadsonarqube-5038ceecaa7a09b8cf87e7d9f2f27c22e363187d.tar.gz
sonarqube-5038ceecaa7a09b8cf87e7d9f2f27c22e363187d.zip
SONAR-10081 Add Explore space for SonarCloud
Diffstat (limited to 'server/sonar-web/src/main/js/app/utils/startReactApp.js')
-rw-r--r--server/sonar-web/src/main/js/app/utils/startReactApp.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/app/utils/startReactApp.js b/server/sonar-web/src/main/js/app/utils/startReactApp.js
index 3488208f508..0040ae22fa8 100644
--- a/server/sonar-web/src/main/js/app/utils/startReactApp.js
+++ b/server/sonar-web/src/main/js/app/utils/startReactApp.js
@@ -48,6 +48,9 @@ import componentMeasuresRoutes from '../../apps/component-measures/routes';
import customMeasuresRoutes from '../../apps/custom-measures/routes';
import groupsRoutes from '../../apps/groups/routes';
import Issues from '../../apps/issues/components/AppContainer';
+import Explore from '../../apps/explore/Explore';
+import ExploreIssues from '../../apps/explore/ExploreIssues';
+import ExploreProjects from '../../apps/explore/ExploreProjects';
import IssuesPageSelector from '../../apps/issues/IssuesPageSelector';
import marketplaceRoutes from '../../apps/marketplace/routes';
import metricsRoutes from '../../apps/metrics/routes';
@@ -164,6 +167,10 @@ const startReactApp = () => {
<Route path="account" childRoutes={accountRoutes} />
<Route path="coding_rules" childRoutes={codingRulesRoutes} />
<Route path="component" childRoutes={componentRoutes} />
+ <Route path="explore" component={Explore}>
+ <Route path="issues" component={ExploreIssues} />
+ <Route path="projects" component={ExploreProjects} />
+ </Route>
<Route
path="extension/:pluginKey/:extensionKey"
component={GlobalPageExtension}