diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-24 02:55:01 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-24 02:55:01 +0300 |
commit | ad640bc5f92ef0456a53dd82004f449cd9d7475d (patch) | |
tree | 0da24fad5572f7fe272c15d842f9b1dfe89e7487 /app/models/user.rb | |
parent | 509ff2ab170802e23646282f1d146a6383b53a66 (diff) |
Use Namespace#full_path instead of #path where appropriate
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index fada0e567f0..f0905cc305b 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -334,7 +334,7 @@ class User < ActiveRecord::Base def reference_pattern %r{ #{Regexp.escape(reference_prefix)} - (?<user>#{Gitlab::Regex::NAMESPACE_REF_REGEX_STR}) + (?<user>#{Gitlab::Regex::FULL_NAMESPACE_REGEX_STR}) }x end end |