use remote_ip 2: electric boogaloo
This commit is contained in:
parent
c5b442c529
commit
9a77b89cda
|
@ -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