diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-24 18:08:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-24 18:08:44 +0300 |
commit | 120f4aaedc8fe830a3f572491d240d8ee6addefb (patch) | |
tree | a2138baa55dfa67d292fb1a83ce686ee7f5d10a5 /app/models/concerns/optionally_search.rb | |
parent | 729e3765d5feb762df1ccfbc228a8dd4662aa3f9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/concerns/optionally_search.rb')
-rw-r--r-- | app/models/concerns/optionally_search.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/optionally_search.rb b/app/models/concerns/optionally_search.rb index 06f8c3dc1cb..9d43c61eb57 100644 --- a/app/models/concerns/optionally_search.rb +++ b/app/models/concerns/optionally_search.rb @@ -4,7 +4,7 @@ module OptionallySearch extend ActiveSupport::Concern class_methods do - def search(*) + def search(query, **options) raise( NotImplementedError, 'Your model must implement the "search" class method' |