Fix lint errors
This commit is contained in:
parent
64ac18843e
commit
b2b9826071
|
@ -37,12 +37,11 @@ class Ajax::QuestionController < AjaxController
|
||||||
|
|
||||||
UseCase::Question::Destroy.call(
|
UseCase::Question::Destroy.call(
|
||||||
question_id: params[:question],
|
question_id: params[:question],
|
||||||
current_user: current_user,
|
current_user:,
|
||||||
)
|
)
|
||||||
|
|
||||||
@response[:status] = :okay
|
@response[:status] = :okay
|
||||||
@response[:message] = t(".success")
|
@response[:message] = t(".success")
|
||||||
@response[:success] = true
|
@response[:success] = true
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue