Commit eb5f4c40 authored by Valery Sizov's avatar Valery Sizov

Merge branch 'remove-groups-finder' into 'master'

Removed usage of GroupsFinder

Fixes #196

See merge request !118
parents 84e6a93f b487fb18
......@@ -80,7 +80,7 @@ class GroupsController < Groups::ApplicationController
end
def autocomplete
groups = GroupsFinder.new.execute(current_user).search(params[:search]).limit(params[:per_page])
groups = Group.search(params[:search]).limit(params[:per_page])
render json: groups.to_json
end
......
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