From b2b98260712ec211b6dca47878af88c86c155655 Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Mon, 11 Dec 2023 19:59:07 +0100 Subject: [PATCH] Fix lint errors --- app/controllers/ajax/question_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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