Merge pull request #50 from Retrospring/qhf-reports-0001

Fix reports
This commit is contained in:
Yuki 2015-09-18 18:04:09 +09:00
commit 5ba8b751c3
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