demarches-normaliennes/lib/tasks/2018_06_04_scan_pjs.rake

6 lines
145 B
Ruby
Raw Normal View History

2018-06-04 17:23:11 +02:00
namespace :'2018_06_04_scan_pjs' do
task scan_all: :environment do
2018-10-01 14:20:14 +02:00
Champs::PieceJustificativeChamp.all.each(&:create_virus_scan)
2018-06-04 17:23:11 +02:00
end
end