Sha256: 49e45db93c50436c5fb7695cd109c4bd366584e7ce2d4070414a535eb85c8677

Contents?: true

Size: 533 Bytes

Versions: 18

Compression:

Stored size: 533 Bytes

Contents

module ContentProviders
  module GratitudeRecordings
    # Allows participants to record a new gratitude recording
    class IndexProvider < BitCore::ContentProvider
      def render_current(options)
        view_context = options.view_context

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
think_feel_do_engine-3.17.1 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.17.0 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.16.3 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.16.2 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.16.1 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.15.7 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.16.0 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.15.6 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.15.5 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.15.4 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.15.3 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.15.2 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.15.1 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.15.0 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.14.9 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.14.8 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.14.7 app/models/content_providers/gratitude_recordings/index_provider.rb
think_feel_do_engine-3.14.6 app/models/content_providers/gratitude_recordings/index_provider.rb