Sha256: 689b0afbebbf02b624769bac4c07caf285b90ab1e634d78ca05d8268ba1cf51b
Contents?: true
Size: 573 Bytes
Versions: 33
Compression:
Stored size: 573 Bytes
Contents
require_dependency "think_feel_do_engine/application_controller" module ThinkFeelDoEngine module Coach # Present Participant Thoughts Visualization to the Coach. class ParticipantThoughtsVisualizationsController < ApplicationController before_action :authenticate_user! def show @participant = Participant.find(params[:participant_id]) thoughts = @participant.thoughts.harmful render "think_feel_do_engine/thoughts/distortion_viz", locals: { thoughts: thoughts, link_to_view: nil } end end end end
Version data entries
33 entries across 33 versions & 1 rubygems