diff --git a/app/controllers/ajax/report_controller.rb b/app/controllers/ajax/report_controller.rb index 0c6f4082..6451bd6d 100644 --- a/app/controllers/ajax/report_controller.rb +++ b/app/controllers/ajax/report_controller.rb @@ -39,7 +39,7 @@ class Ajax::ReportController < AjaxController current_user.report object, params[:reason] @response[:status] = :okay - @response[:message] = t(".success", parameter: params[:type]) + @response[:message] = t(".success", parameter: params[:type].titleize) @response[:success] = true end end