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:
Ursprung
343f594f18
Commit
442f096940
1 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
|
@ -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)
|
||||||
|
|
Laden …
In neuem Issue referenzieren