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.
educoder/app/controllers/shixun_lists_controller.rb

10 lines
259 B

class ShixunListsController < ApplicationController
def index
@results = ShixunSearchService.call(search_params, current_laboratory)
end
private
def search_params
params.permit(:keyword, :type, :page, :limit, :order, :status, :diff)
end
end