diff --git a/app/controllers/ajax/anonymous_block_controller.rb b/app/controllers/ajax/anonymous_block_controller.rb index 8458e47f..6ae84141 100644 --- a/app/controllers/ajax/anonymous_block_controller.rb +++ b/app/controllers/ajax/anonymous_block_controller.rb @@ -8,7 +8,7 @@ class Ajax::AnonymousBlockController < AjaxController AnonymousBlock.create!( user: current_user, - identifier: AnonymousBlock.get_identifier(question.author_identifier), + identifier: question.author_identifier, question: question )