0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-15 14:22:53 +01:00

fix naming and structure

Dieser Commit ist enthalten in:
Faizaan Gagan 2021-05-16 17:26:27 +05:30
Ursprung 343f594f18
Commit 442f096940

Datei anzeigen

@ -40,7 +40,11 @@ class CustomWizard::Field
} }
end end
attr_reader *(attributes - accessible_attributes - excluded_attributes) def self.readonly_attributes
attributes - accessible_attributes - excluded_attributes
end
attr_reader *readonly_attributes
attr_accessor *accessible_attributes attr_accessor *accessible_attributes
def initialize(attrs) def initialize(attrs)