comments: use server-side quote-stripping instead of reimplementing in js.

This commit is contained in:
evazion
2017-04-24 19:37:50 -05:00
parent 18424531fa
commit 869f1610fc
5 changed files with 12 additions and 20 deletions

View File

@@ -48,7 +48,7 @@ class CommentsController < ApplicationController
def show
@comment = Comment.find(params[:id])
respond_with(@comment)
respond_with(@comment, methods: [:quoted_response])
end
def destroy