1 2 3 4 5 6 7
<% content_for :extra_script do %> <script> window.sonarqube.urlRoot = baseUrl + '/updatecenter'; </script> <script src="<%= ApplicationController.root_context -%>/js/bundles/update-center.js?v=<%= sonar_version -%>"></script> <% end %>