blob: 6b12924581dbcc0eec2fa8a966f55414faf768cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
class Api::V1::SearchController < ApiController
respond_to :json
def index
@search = OpenStruct.new(SearchService.new.call(params[:q], 5, params[:resolve] == 'true', current_account))
end
end
|