diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-01 13:39:49 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-03 12:41:11 +0300 |
commit | d49c8e8e3d0f0dee7886d421c91684d92f89c78e (patch) | |
tree | bd616e5f4d3a30d5aa8275f61a71d14af356077d /app/models/label.rb | |
parent | 53c351a2a573cb448eafdc8ed7e187225f6aa012 (diff) |
Mention cross-project labels in markdown documentation
Diffstat (limited to 'app/models/label.rb')
-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})? |