0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 02:30:28 +01:00

FIX: linting error

Dieser Commit ist enthalten in:
jumagura 2023-09-19 14:00:04 -04:00
Ursprung bb81c5700a
Commit 10609f33e2

Datei anzeigen

@ -1,3 +1,5 @@
# frozen_string_literal: true
DiscourseEvent.on(:before_create_topic) do |topic_params, user| DiscourseEvent.on(:before_create_topic) do |topic_params, user|
category = topic_params.category category = topic_params.category
if category&.custom_fields&.[]('create_topic_wizard').present? if category&.custom_fields&.[]('create_topic_wizard').present?