app/controllers/searches_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class SearchesController < ApplicationController
  def show
    @component = params[:search_type].presence == "tv_shows" ? "TvShowSearch" : "MovieSearch"
  end
end