From 225b80d3b3d51258946c31bbbc05586d94bb15e3 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 28 Oct 2016 09:05:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A8=E9=87=8F=E5=88=86=E6=9E=90=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=AF=BC=E8=88=AA=E5=8F=98=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/quality_analysis_controller.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/controllers/quality_analysis_controller.rb b/app/controllers/quality_analysis_controller.rb index 4e522ec73..33b0d4f72 100644 --- a/app/controllers/quality_analysis_controller.rb +++ b/app/controllers/quality_analysis_controller.rb @@ -134,6 +134,9 @@ class QualityAnalysisController < ApplicationController end def error_list + # 顶部导航 + @project_menu_type = 5 + @error_list = SonarError.where(:jenkins_job_name => params[:job_name]).first respond_to do |format| format.html @@ -227,6 +230,9 @@ class QualityAnalysisController < ApplicationController # resource_id: login + @repository.id def index + # 顶部导航 + @project_menu_type = 5 + begin @branch = params[:branch] @resource_id = params[:resource_id]