Apply review suggestion from @raccube

Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
This commit is contained in:
Andreas Nedbal 2022-07-06 21:47:53 +02:00 committed by Karina Kwiatek
parent 7a568889b8
commit 9fc3e535d2
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class Ajax::ReportController < AjaxController
current_user.report object, params[:reason] current_user.report object, params[:reason]
@response[:status] = :okay @response[:status] = :okay
@response[:message] = t(".success", parameter: params[:type]) @response[:message] = t(".success", parameter: params[:type].titleize)
@response[:success] = true @response[:success] = true
end end
end end