Fix code styling [SCI-3990][SCI-3993]

This commit is contained in:
Oleksii Kriuchykhin 2019-10-17 13:38:36 +02:00
parent 53402c9ce1
commit 2637aed853

View file

@ -78,21 +78,21 @@ module ReportExtends
true, true,
[:result], [:result],
proc do |my_module| proc do |my_module|
my_module.results.joins(:result_asset).select { |r| r.active? } my_module.results.joins(:result_asset).select(&:active?)
end), end),
ModuleElement.new([:result_tables], ModuleElement.new([:result_tables],
:result_tables, :result_tables,
true, true,
[:result], [:result],
proc do |my_module| proc do |my_module|
my_module.results.joins(:result_table).select { |r| r.active? } my_module.results.joins(:result_table).select(&:active?)
end), end),
ModuleElement.new([:result_texts], ModuleElement.new([:result_texts],
:result_texts, :result_texts,
true, true,
[:result], [:result],
proc do |my_module| proc do |my_module|
my_module.results.joins(:result_text).select { |r| r.active? } my_module.results.joins(:result_text).select(&:active?)
end), end),
ModuleElement.new([:activity], ModuleElement.new([:activity],
:activity, :activity,