diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-01 11:39:49 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-03 10:41:11 +0100 |
commit | d49c8e8e3d0f0dee7886d421c91684d92f89c78e (patch) | |
tree | bd616e5f4d3a30d5aa8275f61a71d14af356077d /app/models | |
parent | 53c351a2a573cb448eafdc8ed7e187225f6aa012 (diff) | |
download | gitlab-ce-d49c8e8e3d0f0dee7886d421c91684d92f89c78e.tar.gz |
Mention cross-project labels in markdown documentation
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/label.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/label.rb b/app/models/label.rb index 1bb4f35cea2..f8817d9dc54 100644 --- a/app/models/label.rb +++ b/app/models/label.rb @@ -48,7 +48,11 @@ class Label < ActiveRecord::Base '~' end + ## # Pattern used to extract label references from text + # + # This pattern supports cross-project references. + # def self.reference_pattern %r{ (#{Project.reference_pattern})? |