diff --git a/app/controllers/ajax/report_controller.rb b/app/controllers/ajax/report_controller.rb index e5d5fa9c..399e5c12 100644 --- a/app/controllers/ajax/report_controller.rb +++ b/app/controllers/ajax/report_controller.rb @@ -43,7 +43,7 @@ class Ajax::ReportController < ApplicationController return end - current_user.report object, params[:reason] + current_user.report object.find(params[:id]), params[:reason] @status = :okay @message = I18n.t('messages.report.create.okay', parameter: params[:type]) diff --git a/config/locales b/config/locales index f1eb2cc8..b027e6f2 160000 --- a/config/locales +++ b/config/locales @@ -1 +1 @@ -Subproject commit f1eb2cc8e9d06f4aaf4e8f015b5d16550ddec9b0 +Subproject commit b027e6f2c4b3b7c95336dbe3d0a7d53e4da1c4e7