aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-08-09 15:58:25 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-08-09 15:58:25 +0200
commit02319785e69ba5d60d36f199ab80818ccc4f235d (patch)
tree808ff8d630fc1d6a311e0fccee5f3a2625971a0a /sonar-server
parentd9209654ff2bf2f0397c90b51505b81de0894d9d (diff)
downloadsonarqube-02319785e69ba5d60d36f199ab80818ccc4f235d.tar.gz
sonarqube-02319785e69ba5d60d36f199ab80818ccc4f235d.zip
SONAR-4371 Highlighting goes away on Dependencies
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 c324217b90b..1fad73248e2 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
@@ -65,7 +65,7 @@
<li class="spacer"></li>
<li class="sidebar-title"><%= message('sidebar.tools') -%></li>
- <li class="<%= 'active' if request.request_uri.include?('/dependencies/index') -%>">
+ <li class="<%= 'active' if controller.controller_path=='dependencies' -%>">
<a href="<%= ApplicationController.root_context -%>/dependencies/index"><%= message('dependencies.page') -%></a></li>
<li class="<%= 'active' if request.request_uri.include?('/comparison/index') -%>">
<a href="<%= ApplicationController.root_context -%>/comparison/index"><%= message('comparison.page') -%></a>