1
0
Fork 0
discourse-custom-wizard-unl.../lib/custom_wizard/realtime_validation.rb
angusmcleod c45e51fcb6 Various fixes
* Code formatting
* Both "type" and "name" are used to refer to the validation type. Changed all to "type".
* Added proper abstraction of realtime validation classes on server
* UI improvements in admin and wizard
2021-02-16 11:43:00 +11:00

14 Zeilen
263 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