Class: Manage::FeedbacksController
- Inherits:
-
BaseController
- Object
- BaseController
- Manage::FeedbacksController
- Defined in:
- app/controllers/manage/feedbacks_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
17 18 19 |
# File 'app/controllers/manage/feedbacks_controller.rb', line 17 def create create!{ manage_feedbacks_path } end |
#destroy ⇒ Object
25 26 27 |
# File 'app/controllers/manage/feedbacks_controller.rb', line 25 def destroy destroy!{ manage_feedbacks_path } end |
#show ⇒ Object
11 12 13 14 15 |
# File 'app/controllers/manage/feedbacks_controller.rb', line 11 def show @feedbacks = @feedback.siblings @feedback_answer = FeedbackAnswer.new respond_with(@feedbacks) end |
#update ⇒ Object
21 22 23 |
# File 'app/controllers/manage/feedbacks_controller.rb', line 21 def update update!{ manage_feedbacks_path } end |