Merge branch 'rep_quality' of https://git.trustie.net/jacknudt/trustieforge into rep_quality
This commit is contained in:
commit
ba6d0e6926
|
@ -238,7 +238,7 @@ class QualityAnalysisController < ApplicationController
|
|||
@quality_analyses = QualityAnalysis.where(:project_id => @project.id).select{|qa| arr.include?(qa.sonar_name)}
|
||||
else
|
||||
languate_arr = ['ruby', 'c#', 'c++', 'c']
|
||||
qa_language = QualityAnalysis.where(:sonar_name => @resource_id).first.try(language)
|
||||
qa_language = QualityAnalysis.where(:sonar_name => @resource_id).first.try(:language)
|
||||
if !qa_language.blank? && languate_arr.include?(qa_language)
|
||||
@language_flag = true
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue