app/controllers/home_controller.rb
# typed: strict
# frozen_string_literal: true
class HomeController < ApplicationController
extend T::Sig
sig { void }
def index
@trending = T.let(Application.trending, T.untyped)
return unless params[:q]
redirect_to address_applications_url(q: params[:q])
end
end