Sha256: 961196c85461854c9ab62373920bd3279044edaac9d84733a19ca362050ee3fc

Contents?: true

Size: 526 Bytes

Versions: 4

Compression:

Stored size: 526 Bytes

Contents

# frozen_string_literal: true

module Thredded
  module RenderHelper
    # @param collection [Array<T>]
    # @param partial [String]
    # @param expires_in [ActiveSupport::Duration]
    # @return Array<[T, String]>
    def render_collection_to_strings_with_cache(collection:, partial:, expires_in:, **opts)
      CollectionToStringsWithCacheRenderer.new(lookup_context).render_collection_to_strings_with_cache(
        self, collection: collection, partial: partial, expires_in: expires_in, **opts
      )
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
thredded-0.13.0 app/helpers/thredded/render_helper.rb
thredded-0.12.4 app/helpers/thredded/render_helper.rb
thredded-0.12.3 app/helpers/thredded/render_helper.rb
thredded-0.12.2 app/helpers/thredded/render_helper.rb