diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-27 15:07:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-27 15:07:43 +0300 |
commit | 39fa7d1eeb2dba52f0601128f3ac91f57d19866e (patch) | |
tree | da042d34ff762dd1957e51666a34202295a081b9 /lib/gitlab/import_formatter.rb | |
parent | 6ac4a6713ed3196af899011f7e18658e16ebaac0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/import_formatter.rb')
-rw-r--r-- | lib/gitlab/import_formatter.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gitlab/import_formatter.rb b/lib/gitlab/import_formatter.rb index d4ba4d1181d..b272adf8166 100644 --- a/lib/gitlab/import_formatter.rb +++ b/lib/gitlab/import_formatter.rb @@ -14,5 +14,10 @@ module Gitlab author ||= "Anonymous" "*Created by: #{author}*\n\n" end + + def assignee_line(assignee) + assignee ||= "Anonymous" + "*Assigned to: #{assignee}*\n\n" + end end end |