Commit 5a04889b authored by Lin Jen-Shin's avatar Lin Jen-Shin

Resolve app/controllers/autocomplete_controller.rb

parent 58e8b0ff
......@@ -9,13 +9,10 @@ class AutocompleteController < ApplicationController
@users = AutocompleteUsersFinder.new(params: params, current_user: current_user, project: @project, group: @group).execute
render json: UserSerializer.new.represent(@users)
<<<<<<< HEAD
end
def project_groups
render json: @project.invited_groups, only: [:id, :name], methods: [:avatar_url]
=======
>>>>>>> upstream/master
end
def user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment