From 5e12a8cf6011e4f95405a1f8abeee38c92245141 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Mon, 18 Jan 2016 10:31:05 +0100 Subject: [PATCH] SONAR-7224 Links to favorite projects in "My Profile" page do not work --- .../WEB-INF/app/views/account/_favorites.html.erb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/_favorites.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/_favorites.html.erb index 3f70a93fd58..e0f6c2f658f 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/_favorites.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/_favorites.html.erb @@ -5,7 +5,15 @@ <% current_user.favourites.each_with_index do |f, index | %> = max_favorites %>class="hidden"<% end %>> <%= link_to_favourite f -%> - <%= qualifier_icon f %> <%= link_to_resource f %> + + <% + url = ApplicationController.root_context + '/dashboard?id=' + url_encode(f.key) + %> + + <%= qualifier_icon f %> + <%= h f.name -%> + + <% end %> -- 2.39.5