diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2018-08-27 14:35:31 +0200 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2018-08-29 16:56:34 +0200 |
commit | c6bddeacf4775b79edc9896f30da3c1f4136d4d1 (patch) | |
tree | 453164aca2281f6899f313f408b0fb37b98c3cdd /app/models/concerns/issuable.rb | |
parent | 8af40870e2208612a5af34e19f231032745a7f90 (diff) | |
download | gitlab-ce-c6bddeacf4775b79edc9896f30da3c1f4136d4d1.tar.gz |
Updates code using class_methods over module ClassMethods
Diffstat (limited to 'app/models/concerns/issuable.rb')
-rw-r--r-- | app/models/concerns/issuable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/issuable.rb b/app/models/concerns/issuable.rb index e8072145551..f881ce2321c 100644 --- a/app/models/concerns/issuable.rb +++ b/app/models/concerns/issuable.rb @@ -118,7 +118,7 @@ module Issuable end end - module ClassMethods + class_methods do # Searches for records with a matching title. # # This method uses ILIKE on PostgreSQL and LIKE on MySQL. |