about summary refs log tree commit diff
path: root/app/controllers/api/v2/search_controller.rb
blob: 2e91d68ee30b173ca7acd25525cda7f1bd3ca2dc (plain) (blame)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

class Api::V2::SearchController < Api::V1::SearchController
  def index
    @search = Search.new(search)
    render json: @search, serializer: REST::V2::SearchSerializer
  end
end