Fix reports

This commit is contained in:
Yuki 2015-09-18 18:01:22 +09:00
parent 9bb512e8fe
commit 64ba41d9a6
2 changed files with 2 additions and 2 deletions

View file

@ -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])

@ -1 +1 @@
Subproject commit f1eb2cc8e9d06f4aaf4e8f015b5d16550ddec9b0
Subproject commit b027e6f2c4b3b7c95336dbe3d0a7d53e4da1c4e7