diff options
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index 37aceeae5f8..cddffa9bb1d 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -993,10 +993,10 @@ class Repository raw_repository.ls_files(actual_ref) end - def search_files_by_content(query, ref) + def search_files_by_content(query, ref, options = {}) return [] if empty? || query.blank? - raw_repository.search_files_by_content(query, ref) + raw_repository.search_files_by_content(query, ref, options) end def search_files_by_name(query, ref) |