aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-03 17:50:55 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-03 17:50:55 +0200
commit1ad2570e7a3712f002f445822967e8cc58812301 (patch)
treeb0e75d525b23999f98d67ade78b469069ca81eab /sonar-server/src
parent266d901ba901b8cfd33727610efeb6a0fcfa0e2a (diff)
downloadsonarqube-1ad2570e7a3712f002f445822967e8cc58812301.tar.gz
sonarqube-1ad2570e7a3712f002f445822967e8cc58812301.zip
SONAR-5007 Fix profile links on profiles compare page
Diffstat (limited to 'sonar-server/src')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb
index a70b6c3939d..2568aff56e8 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb
@@ -45,7 +45,7 @@
<thead>
<tr>
<th><a name="in1"/><%= message('quality_profiles.x_rules_only_in', :params => @in1.size) %>
- <a href="<%= url_for :controller => 'profiles', :action => 'show', :id => @profile1.id -%>"><%= h @profile1.name %></a>
+ <a href="<%= url_for :controller => 'profiles', :action => 'show', :key => @profile1.kee -%>"><%= h @profile1.name %></a>
</th>
</tr>
</thead>
@@ -72,7 +72,7 @@
<thead>
<tr>
<th><a name="in2"/><%= message('quality_profiles.x_rules_only_in', :params => @in2.size) %>
- <a href="<%= url_for :controller => 'profiles', :action => 'show', :id => @profile2.id -%>"><%= h @profile2.name %></a>
+ <a href="<%= url_for :controller => 'profiles', :action => 'show', :key => @profile2.kee -%>"><%= h @profile2.name %></a>
</th>
</tr>
</thead>
@@ -96,11 +96,11 @@
<thead>
<tr>
<th width="49%"><a name="modified"/><%= message('quality_profiles.x_rules_have_different_configuration', :params =>@modified.size) -%><br/>
- <a href="<%= url_for :controller => 'profiles', :action => 'show', :id => @profile1.id -%>"><%= h @profile1.name %></a>
+ <a href="<%= url_for :controller => 'profiles', :action => 'show', :key => @profile1.kee -%>"><%= h @profile1.name %></a>
</th>
<th width="2%"></th>
<th width="49%">
- <br/><a href="<%= url_for :controller => 'profiles', :action => 'show', :id => @profile2.id -%>"><%= h @profile2.name %></a>
+ <br/><a href="<%= url_for :controller => 'profiles', :action => 'show', :key => @profile2.kee -%>"><%= h @profile2.name %></a>
</th>
</tr>
</thead>