aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-11-25 15:34:21 +0100
committerGitHub <noreply@github.com>2016-11-25 15:34:21 +0100
commit581cc1f7285e0dc0b46b5238ef17e1b572389753 (patch)
tree774360d23c18281a37a3114213905f1e1606c8fc /server/sonar-web/src/main/js
parentee2a7584861919027e927bf6a9fee3aea192f601 (diff)
downloadsonarqube-581cc1f7285e0dc0b46b5238ef17e1b572389753.tar.gz
sonarqube-581cc1f7285e0dc0b46b5238ef17e1b572389753.zip
SONAR-8426 Redirect account/issues/xxx links to the global Issues page (#1409)
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r--server/sonar-web/src/main/js/apps/account/routes.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/account/routes.js b/server/sonar-web/src/main/js/apps/account/routes.js
index 212a2f82108..5a4539b065a 100644
--- a/server/sonar-web/src/main/js/apps/account/routes.js
+++ b/server/sonar-web/src/main/js/apps/account/routes.js
@@ -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>
);