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, #raise_not_found!, #render_not_found
Instance Method Details
#create ⇒ Object
10 11 12 13 |
# File 'app/controllers/think_feel_do_engine/participants/thoughts_controller.rb', line 10 def create @thought = current_participant.thoughts.find(thought_id) @thought.update(thought_params) end |