Class: ThinkFeelDoEngine::Participants::ThoughtsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- ThinkFeelDoEngine::Participants::ThoughtsController
- Defined in:
- app/controllers/think_feel_do_engine/participants/thoughts_controller.rb
Overview
Manage Participant Thoughts.
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
#create ⇒ Object
9 10 11 12 |
# File 'app/controllers/think_feel_do_engine/participants/thoughts_controller.rb', line 9 def create @thought = current_participant.thoughts.find(thought_id) @thought.update(thought_params) end |