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