Merge pull request #1058 from Retrospring/fix-remote-ip-again
use remote_ip 2: electric boogaloo
This commit is contained in:
commit
6ba17893b0
|
@ -31,7 +31,7 @@ class Ajax::QuestionController < AjaxController
|
||||||
UseCase::Question::CreateFollowers.call(
|
UseCase::Question::CreateFollowers.call(
|
||||||
source_user_id: current_user.id,
|
source_user_id: current_user.id,
|
||||||
content: params[:question],
|
content: params[:question],
|
||||||
author_identifier: AnonymousBlock.get_identifier(request.ip)
|
author_identifier: AnonymousBlock.get_identifier(request.remote_ip)
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue