diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-06-05 21:12:26 +0300 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-06-06 11:21:47 +0300 |
commit | 3ed66d4abde28c9f586342fe8e6481360825b823 (patch) | |
tree | 7ae5f00d518604bbf69b709712dd476591b5e86d /app/models/project.rb | |
parent | 7e54d0465c9bf7d52a49b08472d7b12d1c655a91 (diff) |
Adds #human_import_status_name to make it comply with ProjectImportState#human_status_name
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index a094dbcb747..3ae445ed200 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -674,6 +674,12 @@ class Project < ActiveRecord::Base end end + def human_import_status_name + ensure_import_state + + import_state.human_status_name + end + def import_schedule ensure_import_state(force: true) |