You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
211 B

  1. # frozen_string_literal: true
  2. class Api::V2::SearchController < Api::V1::SearchController
  3. def index
  4. @search = Search.new(search)
  5. render json: @search, serializer: REST::V2::SearchSerializer
  6. end
  7. end