Sha256: 2a0f2b555d90072006b8fab18c4eb2e2576972840c00325ca47bfa6b815769fd

Contents?: true

Size: 269 Bytes

Versions: 5

Compression:

Stored size: 269 Bytes

Contents

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
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trestle-search-0.4.1 lib/trestle/search/controller.rb
trestle-search-0.4.0 lib/trestle/search/controller.rb
trestle-search-0.3.0 lib/trestle/search/controller.rb
trestle-search-0.2.1 lib/trestle/search/controller.rb
trestle-search-0.2.0 lib/trestle/search/controller.rb