Fix reports
This commit is contained in:
parent
9bb512e8fe
commit
64ba41d9a6
|
@ -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
|
Loading…
Reference in New Issue