diff options
author | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-02-12 20:02:23 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-02-12 20:02:23 +0000 |
commit | 714ca5189ee6da5f25d7930b48d8216aa4eb936e (patch) | |
tree | fd4665736e41d1f93480ce8a357cf8a04c736cf4 /lib | |
parent | 30cf916b263c187fe231acb6e622d21297092add (diff) | |
parent | e8271226b1a474f097909b8006d78dd60bbca7be (diff) | |
download | gitlab-ce-714ca5189ee6da5f25d7930b48d8216aa4eb936e.tar.gz |
Merge branch 'issues_tracker_template' into 'master'
Issues trackers template
If admin defines service template, service in project will be prefilled with the template data.
See merge request !1503
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/reference_extractor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/reference_extractor.rb b/lib/gitlab/reference_extractor.rb index 0b9177afa4f..7e5c991a222 100644 --- a/lib/gitlab/reference_extractor.rb +++ b/lib/gitlab/reference_extractor.rb @@ -71,7 +71,7 @@ module Gitlab if entry_project.nil? false else - project.nil? || project.id == entry_project.id + project.nil? || entry_project.default_issues_tracker? end end end |