Method: FeatureBox::CommentsController#destroy
- Defined in:
- app/controllers/feature_box/comments_controller.rb
#destroy ⇒ Object
38 39 40 41 |
# File 'app/controllers/feature_box/comments_controller.rb', line 38 def destroy @comment.destroy redirect_to @comment.suggestion, notice: 'Comment was successfully deleted.' end |