summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2011-11-22 11:18:07 +0100
committerFabrice Bellingard <bellingard@gmail.com>2011-11-22 11:22:34 +0100
commit8d0f0a9c2bc351336e6e7c73d164ad6c3ba57687 (patch)
tree6bd4c6bd908be2580c24bdf8cd1d26263b8bf3e3 /plugins
parentad57fa2570b24daf71b30ede215fd07df4f6c05e (diff)
downloadsonarqube-8d0f0a9c2bc351336e6e7c73d164ad6c3ba57687.tar.gz
sonarqube-8d0f0a9c2bc351336e6e7c73d164ad6c3ba57687.zip
SONAR-2071 Open resource viewer on the correct tab
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspot_most_violated_resources.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspot_most_violated_resources.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspot_most_violated_resources.html.erb
index 3f457c7dfbf..f4f5d2dd9e8 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspot_most_violated_resources.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspot_most_violated_resources.html.erb
@@ -53,7 +53,7 @@
%>
<tr class="<%= cycle 'even','odd', :name => ('hotspot_most_violated_resources' + widget.id.to_s) -%>">
<td>
- <%= link_to_resource(resource, resource.name) -%>
+ <%= link_to_resource(resource, resource.name, {:tab => :violations}) -%>
</td>
<td class="small right">
<%= image_tag('priority/BLOCKER.png') -%>