summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-10-16 18:27:07 -0700
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-10-16 18:27:07 -0700
commit2c6cd2e575b04440df24ba79ef70d6463a248fa9 (patch)
tree99f40a67c374e8b86120284b6100f820f2351ff9 /app/models/user.rb
parenta42d7980af0ccad036a68cb5497049464be0b2dc (diff)
downloadgitlab-ce-2c6cd2e575b04440df24ba79ef70d6463a248fa9.tar.gz
Fix spec
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 525a4fc3778..9459b6d4fa4 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -185,7 +185,6 @@ class User < ActiveRecord::Base
# Note: When adding an option, it MUST go on the end of the array.
enum project_view: [:readme, :activity, :files]
-
alias_attribute :private_token, :authentication_token
delegate :path, to: :namespace, allow_nil: true, prefix: true