Sha256: 7f6ebbf08457fb73a88eb788ded9f68c01520f68a581a4b3feaf9e1768694e8c

Contents?: true

Size: 536 Bytes

Versions: 38

Compression:

Stored size: 536 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)
      Thredded::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

38 entries across 38 versions & 2 rubygems

Version Path
thredded-1.1.0 app/helpers/thredded/render_helper.rb
thredded-1.0.1 app/helpers/thredded/render_helper.rb
thredded-1.0.0 app/helpers/thredded/render_helper.rb
thredded-0.16.16 app/helpers/thredded/render_helper.rb
thredded-0.16.15 app/helpers/thredded/render_helper.rb
thredded-0.16.14 app/helpers/thredded/render_helper.rb
thredded-0.16.13 app/helpers/thredded/render_helper.rb
thredded-0.16.12 app/helpers/thredded/render_helper.rb
thredded-0.16.11 app/helpers/thredded/render_helper.rb
thredded-0.16.10 app/helpers/thredded/render_helper.rb
thredded-0.16.9 app/helpers/thredded/render_helper.rb
thredded-0.16.8 app/helpers/thredded/render_helper.rb
thredded-0.16.7 app/helpers/thredded/render_helper.rb
thredded-0.16.6 app/helpers/thredded/render_helper.rb
thredded-0.16.5 app/helpers/thredded/render_helper.rb
thredded-0.16.4 app/helpers/thredded/render_helper.rb
thredded-0.16.3 app/helpers/thredded/render_helper.rb
thredded-0.16.1 app/helpers/thredded/render_helper.rb
thredded-0.16.0 app/helpers/thredded/render_helper.rb
thredded-0.15.5 app/helpers/thredded/render_helper.rb