summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2017-05-04 17:06:01 -0700
committerMichael Kozono <mkozono@gmail.com>2017-05-05 12:12:50 -0700
commitf05469f99b8c52c4dab7ac9160b47676c87124f9 (patch)
tree89d39b3c7672d89fd05346c2ea930ae039a95c4a /app/models/user.rb
parent9e48f02ea802814e4df1f1de5ed509942dca7581 (diff)
downloadgitlab-ce-f05469f99b8c52c4dab7ac9160b47676c87124f9.tar.gz
Resolve discussions
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 7da92d03427..dd2c8f1b6ef 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -360,6 +360,10 @@ class User < ActiveRecord::Base
end
end
+ def full_path
+ username
+ end
+
def self.internal_attributes
[:ghost]
end