summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/repository.rb4
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