diff options
author | James Lopez <james@jameslopez.es> | 2016-04-01 12:04:41 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-04-01 12:04:41 +0200 |
commit | 6d12d79d29e035c7238aa7112db1429711e61a65 (patch) | |
tree | 0779aa769d808b5f21817f72e3070687d737ec3d /app/models | |
parent | 075b56aae2e045e930580985234276edb353747f (diff) | |
download | gitlab-ce-6d12d79d29e035c7238aa7112db1429711e61a65.tar.gz |
fix fogbugz import
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/project_import_data.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/project_import_data.rb b/app/models/project_import_data.rb index ba4334055d6..fa6055ff64d 100644 --- a/app/models/project_import_data.rb +++ b/app/models/project_import_data.rb @@ -17,4 +17,8 @@ class ProjectImportData < ActiveRecord::Base serialize :data, JSON validates :project, presence: true + + def stringified_credentials + JSON[credentials.to_json] + end end |