diff options
author | Michael Kozono <mkozono@gmail.com> | 2017-05-03 15:26:44 -0700 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2017-05-05 12:12:49 -0700 |
commit | 0c866f4a575d8127efbf3eafda83d8ccfbd97817 (patch) | |
tree | da00182ea8dbba39cf72ae15b857b40aa84d5342 /app/models/user.rb | |
parent | fc061c2ecd2e292383017c703220bfb22d0d6dce (diff) | |
download | gitlab-ce-0c866f4a575d8127efbf3eafda83d8ccfbd97817.tar.gz |
Resolve discussions
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 c6354b989ad..7da92d03427 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -335,7 +335,7 @@ class User < ActiveRecord::Base def find_by_full_path(path, follow_redirects: false) namespace = Namespace.find_by_full_path(path, follow_redirects: follow_redirects) - namespace.owner if namespace && namespace.owner + namespace&.owner end def reference_prefix |