Sha256: db08dbbe54653a1f9beeaaae862e0ffee0e52a091bf1d668912c52e97ac54f55

Contents?: true

Size: 269 Bytes

Versions: 5

Compression:

Stored size: 269 Bytes

Contents

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

        super
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trestle-search-0.5.1 lib/trestle/search/controller.rb
trestle-search-0.5.0 lib/trestle/search/controller.rb
trestle-search-0.5.0.pre lib/trestle/search/controller.rb
trestle-search-0.4.3 lib/trestle/search/controller.rb
trestle-search-0.4.2 lib/trestle/search/controller.rb