]> source.dussan.org Git - sonarqube.git/commitdiff
Fix Web API URL when not logged in
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Wed, 30 Mar 2016 10:41:11 +0000 (12:41 +0200)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Wed, 30 Mar 2016 10:41:11 +0000 (12:41 +0200)
server/sonar-web/src/main/webapp/WEB-INF/app/views/api_documentation/index.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/nonav.html.erb

index 4d8d2500e2dc341063f4b8db975041c75bfbc2bf..5b1b5346f45cc6b8ced8b834d0054e3f95f409c3 100644 (file)
@@ -1,6 +1,6 @@
 <% content_for :extra_script do %>
   <script>
-    window.sonarqube.urlRoot = window.baseUrl + '/api_documentation';
+    window.sonarqube.urlRoot = window.baseUrl + '/web_api';
   </script>
   <script src="/js/bundles/api-documentation.js?v=<%= sonar_version -%>"></script>
 <% end %>
index 52ddb5917606761478af175e4252fea559ec80b7..34a06883d13921afb38142db33f981df29ec9c04 100644 (file)
@@ -24,7 +24,7 @@
     <a href="http://www.sonarqube.org/documentation" target="sonar_doc">Documentation</a> -
     <a href="http://www.sonarqube.org/support" target="support">Get Support</a> -
     <a href="http://redirect.sonarsource.com/doc/plugin-library.html" target="plugins">Plugins</a> -
-    <a href="/api_documentation">Web Service API</a>
+    <a href="/web_api">Web API</a>
   </div>
   <%= render 'branding/footer' -%>
 </div>