diff options
| author | Alban Peignier | 2017-08-29 15:11:08 +0200 |
|---|---|---|
| committer | Alban Peignier | 2017-08-29 15:11:08 +0200 |
| commit | 3c85bfbcd31dd9f2d905e8f77020284b68bd38bc (patch) | |
| tree | d3954a9eafd0818f9af56332eee2ed91c105e85a | |
| parent | 7869c9906fff1c13853d4a4a6ae4b367c64fb5d7 (diff) | |
| download | chouette-core-3c85bfbcd31dd9f2d905e8f77020284b68bd38bc.tar.bz2 | |
Fixes Import#child_change argument
| -rw-r--r-- | app/models/import.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/import.rb b/app/models/import.rb index 6c3cba6bc..295fac2d1 100644 --- a/app/models/import.rb +++ b/app/models/import.rb @@ -33,7 +33,7 @@ class Import < ActiveRecord::Base update(notified_parent_at: DateTime.now) end - def child_change + def child_change(child) return if self.class.finished_statuses.include?(status) update_status |
