Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-23 01:40:29 +01:00
14 Zeilen
261 B
Ruby
14 Zeilen
261 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CustomWizard::RealtimeValidation
|
|
cattr_accessor :types
|
|
|
|
@@types ||= {
|
|
similar_topics: {
|
|
types: [:text],
|
|
component: "similar-topics-validator",
|
|
backend: true,
|
|
required_params: []
|
|
}
|
|
}
|
|
end
|