Use symbol instead of string
This commit is contained in:
parent
4b1cd65588
commit
3e0d3ce518
|
@ -39,7 +39,7 @@ end
|
||||||
|
|
||||||
class FileInput < SimpleForm::Inputs::FileInput
|
class FileInput < SimpleForm::Inputs::FileInput
|
||||||
def input_html_classes
|
def input_html_classes
|
||||||
super.delete_if { |html_class| html_class == 'file' }
|
super.delete_if { |html_class| html_class == :file }
|
||||||
super.push('file-upload')
|
super.push('file-upload')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue