aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-05-08 12:54:27 +0200
committerDavid Gageot <david@gageot.net>2012-05-08 12:54:27 +0200
commit2837d15ac62f3d33b39c5a770ac392726a0a22f1 (patch)
tree7a548257b9f9aff38a02bc863813b2399e1dfb7a /sonar-server
parent6b4725266d47e907dda4c141c3b4426a0a103cde (diff)
downloadsonarqube-2837d15ac62f3d33b39c5a770ac392726a0a22f1.tar.gz
sonarqube-2837d15ac62f3d33b39c5a770ac392726a0a22f1.zip
SONAR-1927 Fix links being displayed when configuring a project
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb2
1 files changed, 1 insertions, 1 deletions
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 9c1d3a854c8..81ce8035a1d 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
@@ -1,6 +1,6 @@
<%
selected_section = controller.class::SECTION
- if selected_section==Navigation::SECTION_RESOURCE && !@resource
+ if selected_section==Navigation::SECTION_RESOURCE && !@project
selected_section = Navigation::SECTION_HOME
end
@project=@resource unless @project || selected_section==Navigation::SECTION_HOME