Sha256: ae059fe6ab4c8cbd3d964f4d70bfbacc73495da76aa95d4731f6b4e990b8b4ad

Contents?: true

Size: 500 Bytes

Versions: 12

Compression:

Stored size: 500 Bytes

Contents

module ContentProviders
  module Experiences
    # Allows participants view past positive experiences/events
    class IndexProvider < BitCore::ContentProvider
      def render_current(options)
        view_context = options.view_context

        view_context.render(
          template: "think_feel_do_engine/experiences/index_provider",
          locals: {
            experiences: view_context
              .current_participant
              .experiences
          })
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
think_feel_do_engine-3.17.1 app/models/content_providers/experiences/index_provider.rb
think_feel_do_engine-3.17.0 app/models/content_providers/experiences/index_provider.rb
think_feel_do_engine-3.16.3 app/models/content_providers/experiences/index_provider.rb
think_feel_do_engine-3.16.2 app/models/content_providers/experiences/index_provider.rb
think_feel_do_engine-3.16.1 app/models/content_providers/experiences/index_provider.rb
think_feel_do_engine-3.15.7 app/models/content_providers/experiences/index_provider.rb
think_feel_do_engine-3.16.0 app/models/content_providers/experiences/index_provider.rb
think_feel_do_engine-3.15.6 app/models/content_providers/experiences/index_provider.rb
think_feel_do_engine-3.15.5 app/models/content_providers/experiences/index_provider.rb
think_feel_do_engine-3.15.4 app/models/content_providers/experiences/index_provider.rb
think_feel_do_engine-3.15.3 app/models/content_providers/experiences/index_provider.rb
think_feel_do_engine-3.15.2 app/models/content_providers/experiences/index_provider.rb