Sha256: af6713c5434f19178ab9d9ccc7a6836a96f879c55477018a56be0f967719a93b
Contents?: true
Size: 612 Bytes
Versions: 45
Compression:
Stored size: 612 Bytes
Contents
module ContentProviders # Displays all feelings the participant has had in the past class IndexPastFeelProvider < BitCore::ContentProvider def data_class_name "Emotion" end def render_current(options) participant = options.view_context.current_participant options.view_context.render( template: "think_feel_do_engine/emotions/index", locals: { emotional_ratings: participant.emotional_rating_daily_averages, mood_ratings: participant.mood_rating_daily_averages } ) end def show_nav_link? true end end end
Version data entries
45 entries across 45 versions & 1 rubygems