From 10609f33e258513f6e2e2f56db384b53bb59aac8 Mon Sep 17 00:00:00 2001 From: jumagura Date: Tue, 19 Sep 2023 14:00:04 -0400 Subject: [PATCH] FIX: linting error --- lib/custom_wizard/extensions/topic_extension.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/custom_wizard/extensions/topic_extension.rb b/lib/custom_wizard/extensions/topic_extension.rb index e890f9df..7ee442ed 100644 --- a/lib/custom_wizard/extensions/topic_extension.rb +++ b/lib/custom_wizard/extensions/topic_extension.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + DiscourseEvent.on(:before_create_topic) do |topic_params, user| category = topic_params.category if category&.custom_fields&.[]('create_topic_wizard').present?