summaryrefslogtreecommitdiff
path: root/app/controllers/autocomplete_controller.rb
diff options
context:
space:
mode:
authorMaxim Rydkin <maks.rydkin@gmail.com>2017-09-05 21:59:40 +0300
committerMaxim Rydkin <maks.rydkin@gmail.com>2017-09-10 18:31:06 +0300
commit20ff87a261ac0ea06268d2cb7223f104baf2ed35 (patch)
tree4bfaef6b1c304a0b0e3edb7b2b829e78d4da2557 /app/controllers/autocomplete_controller.rb
parent0c84713e858ea373440652b3bed8f9be8a006c48 (diff)
downloadgitlab-ce-20ff87a261ac0ea06268d2cb7223f104baf2ed35.tar.gz
rename yet_another_users_finder into autocomplete_users_finder
Diffstat (limited to 'app/controllers/autocomplete_controller.rb')
-rw-r--r--app/controllers/autocomplete_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/autocomplete_controller.rb b/app/controllers/autocomplete_controller.rb
index 8e945f90f76..d907777e936 100644
--- a/app/controllers/autocomplete_controller.rb
+++ b/app/controllers/autocomplete_controller.rb
@@ -6,7 +6,7 @@ class AutocompleteController < ApplicationController
before_action :find_users, only: [:users]
def users
- @users = YetAnotherUsersFinder.new(params: params, current_user: current_user, users: @users).execute
+ @users = AutocompleteUsersFinder.new(params: params, current_user: current_user, users: @users).execute
render json: @users, only: [:name, :username, :id], methods: [:avatar_url]
end