diff --git a/app/controllers/ajax/question_controller.rb b/app/controllers/ajax/question_controller.rb index 4cf425b5..e8b516d8 100644 --- a/app/controllers/ajax/question_controller.rb +++ b/app/controllers/ajax/question_controller.rb @@ -37,12 +37,11 @@ class Ajax::QuestionController < AjaxController UseCase::Question::Destroy.call( question_id: params[:question], - current_user: current_user, + current_user:, ) @response[:status] = :okay @response[:message] = t(".success") @response[:success] = true end - end