Class: ThinkFeelDoEngine::Coach::SentMessagesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- ThinkFeelDoEngine::Coach::SentMessagesController
- Defined in:
- app/controllers/think_feel_do_engine/coach/sent_messages_controller.rb
Overview
Enables viewing of an individual message sent by coaches.
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 15 16 17 18 19 |
# File 'app/controllers/think_feel_do_engine/coach/sent_messages_controller.rb', line 9 def show = current_user..find(params[:id]) :show, render( template: "think_feel_do_engine/messages/show", locals: { message: , compose_path: (@group) } ) end |