diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-08-29 21:11:38 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-08-29 21:11:38 +0800 |
commit | 6d9fb6b0b779d7065f0c36ec15a42d0d459abbeb (patch) | |
tree | 19c5c076feadc68dc15a1f24b0afb31aceb62e10 | |
parent | 110d7fb78c0edf2e18c70ff3d9b60671f6935977 (diff) | |
download | gitlab-ce-6d9fb6b0b779d7065f0c36ec15a42d0d459abbeb.tar.gz |
It doesn't seem that rubocop is complaining for me
-rw-r--r-- | app/models/repository.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index 0f67395b88b..9fe39172b19 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -60,12 +60,10 @@ class Repository @project = project end - def equals(other) + def ==(other) @disk_path == other.disk_path end - alias_method :==, :equals - def raw_repository return nil unless full_path |