summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-01-03 09:58:11 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-01-06 09:33:33 +0100
commit018e8de4229414b3365d597eab1d66a29ee23e90 (patch)
tree9c65a1d655525a00136f0f6293189f2760bdc7f8 /sonar-server/src/main/webapp/WEB-INF
parent09a2bab25580be6d56433e3d9c559ecd0f29334f (diff)
downloadsonarqube-018e8de4229414b3365d597eab1d66a29ee23e90.tar.gz
sonarqube-018e8de4229414b3365d597eab1d66a29ee23e90.zip
Restore breadcrumb on project quality profile page
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/controllers/project_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/project_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/project_controller.rb
index f811ba69214..9b799d6565f 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/project_controller.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/project_controller.rb
@@ -80,6 +80,8 @@ class ProjectController < ApplicationController
require_parameters :id
@project_id = Api::Utils.project_id(params[:id])
access_denied unless (is_admin?(@project_id) || has_role?(:profileadmin))
+ # Need to display breadcrumb
+ @project = Project.by_key(@project_id)
call_backend do
@project_quality_profiles = Internal.quality_profiles.profiles(@project_id.to_i).to_a