Class: ThinkFeelDoEngine::Coach::ParticipantThoughtsVisualizationsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- ThinkFeelDoEngine::Coach::ParticipantThoughtsVisualizationsController
- Defined in:
- app/controllers/think_feel_do_engine/coach/participant_thoughts_visualizations_controller.rb
Overview
Present Participant Thoughts Visualization to the Coach.
Constant Summary
Constants inherited from ApplicationController
ApplicationController::CSRF_COOKIE_NAME, ApplicationController::CSRF_HEADER_NAME, ApplicationController::INACTIVE_MESSAGE, ApplicationController::ROOT_URI
Instance Method Summary collapse
Methods inherited from ApplicationController
#access_denied_resource_path, #after_sign_in_path_for, #after_sign_out_path_for
Instance Method Details
#show ⇒ Object
9 10 11 12 13 14 |
# File 'app/controllers/think_feel_do_engine/coach/participant_thoughts_visualizations_controller.rb', line 9 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 |