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,
[:result],
proc do |my_module|
my_module.results.joins(:result_asset).select { |r| r.active? }
my_module.results.joins(:result_asset).select(&:active?)
end),
ModuleElement.new([:result_tables],
:result_tables,
true,
[:result],
proc do |my_module|
my_module.results.joins(:result_table).select { |r| r.active? }
my_module.results.joins(:result_table).select(&:active?)
end),
ModuleElement.new([:result_texts],
:result_texts,
true,
[:result],
proc do |my_module|
my_module.results.joins(:result_text).select { |r| r.active? }
my_module.results.joins(:result_text).select(&:active?)
end),
ModuleElement.new([:activity],
:activity,