]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8426 Redirect account/issues/xxx links to the global Issues page (#1409)
authorStas Vilchik <vilchiks@gmail.com>
Fri, 25 Nov 2016 14:34:21 +0000 (15:34 +0100)
committerGitHub <noreply@github.com>
Fri, 25 Nov 2016 14:34:21 +0000 (15:34 +0100)
server/sonar-web/src/main/js/apps/account/routes.js

index 212a2f821088ceb6320b64946f8b5a8598f71c4b..5a4539b065ac78ee56b240b16a990240d6b9bdbb 100644 (file)
@@ -31,5 +31,9 @@ export default (
       <Route path="security" component={Security}/>
       <Route path="notifications" component={NotificationsContainer}/>
       <Route path="projects" component={ProjectsContainer}/>
+
+      <Route path="issues" onEnter={() => {
+        window.location = window.baseUrl + '/issues' + window.location.hash + '|assigned_to_me=true';
+      }}/>
     </Route>
 );