质量分析页面导航变色
This commit is contained in:
parent
3ef90a3c62
commit
225b80d3b3
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue