Module: Trestle::Search::Controller

Defined in:
lib/trestle/search/controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
7
8
9
10
# File 'lib/trestle/search/controller.rb', line 4

def index
  if admin.searchable? && params[:q].present?
    breadcrumb t("admin.search.results", default: "Search Results"), { q: params[:q] }
  end

  super
end