diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-04-19 09:22:55 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-04-19 09:22:55 +0530 |
commit | f801e2243dcce6d3bdce01acf62fbf5a49a301da (patch) | |
tree | e5c4c364f5133ab530581e5da250d5f787390a4a /app/models/issue.rb | |
parent | aa396ae5ee5715c1a2a8a82731cef6e3d7f73056 (diff) | |
download | gitlab-ce-f801e2243dcce6d3bdce01acf62fbf5a49a301da.tar.gz |
A new branch created for a confidential issue is named `<id>-confidential-issue`.14566-confidential-issue-branches
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 530d2107596..2f773869603 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -158,7 +158,7 @@ class Issue < ActiveRecord::Base def to_branch_name if self.confidential? - "issue-#{iid}" + "#{iid}-confidential-issue" else "#{iid}-#{title.parameterize}" end |