aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/nav.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/api/nav.js')
-rw-r--r--server/sonar-web/src/main/js/api/nav.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/api/nav.js b/server/sonar-web/src/main/js/api/nav.js
new file mode 100644
index 00000000000..86cc425795a
--- /dev/null
+++ b/server/sonar-web/src/main/js/api/nav.js
@@ -0,0 +1,6 @@
+import $ from 'jquery';
+
+export function getGlobalNavigation () {
+ let url = baseUrl + '/api/navigation/global';
+ return $.get(url);
+}