From 3c665188f4717f971314684b752d953608081aaf Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 9 Oct 2012 22:52:45 +0200 Subject: [PATCH] SONAR-3549 From the dependencies page, when selecting a library whose source code has been analysed, the bread crumb is unexpectedly updated --- .../webapp/WEB-INF/app/controllers/application_controller.rb | 2 +- .../src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/application_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/application_controller.rb index e125aaefe2d..fa0dc0a07a5 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/application_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/application_controller.rb @@ -40,7 +40,7 @@ class ApplicationController < ActionController::Base end def java_facade - Java::OrgSonarServerUi::JRubyFacade.getInstance() + Api::Utils.java_facade end def available_locales diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb index b0b0dbf3012..19ba632075d 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb @@ -38,7 +38,7 @@ -<%= render 'layouts/breadcrumb' -%> +<%= render 'layouts/breadcrumb' if selected_section==Navigation::SECTION_RESOURCE-%>