lib/trestle/search/controller.rb in trestle-search-0.4.1 vs lib/trestle/search/controller.rb in trestle-search-0.4.2
- old
+ new
@@ -1,13 +1,13 @@
module Trestle
module Search
module Controller
def index
- super
-
if admin.searchable? && params[:q].present?
breadcrumb t("admin.search.results", default: "Search Results"), { q: params[:q] }
end
+
+ super
end
end
end
end