diff options
| author | Luc Donnet | 2017-08-31 11:55:46 +0200 |
|---|---|---|
| committer | Luc Donnet | 2017-08-31 11:55:46 +0200 |
| commit | d42959009d5c261cff245f91d239520719cb3916 (patch) | |
| tree | e5784f459095979864530d7df10cf113809f9b59 /app | |
| parent | 26c4b71042d258da2fc9ccd67855219b9b012c6b (diff) | |
| download | chouette-core-d42959009d5c261cff245f91d239520719cb3916.tar.bz2 | |
Add warning status to import Refs #4258
Diffstat (limited to 'app')
| -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 9daff0494..939434e67 100644 --- a/app/models/import.rb +++ b/app/models/import.rb @@ -9,7 +9,7 @@ class Import < ActiveRecord::Base has_many :children, foreign_key: :parent_id, class_name: "Import" extend Enumerize - enumerize :status, in: %i(new pending successful failed running aborted canceled), scope: true + enumerize :status, in: %i(new pending successful warning failed running aborted canceled), scope: true validates :file, presence: true validates_presence_of :workbench, :creator |
