Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
raccube committed Dec 11, 2023
1 parent 64ac188 commit b2b9826
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/controllers/ajax/question_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@ def destroy

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

0 comments on commit b2b9826

Please sign in to comment.