Use symbol instead of string

This commit is contained in:
Rigoberto Molina 2018-09-17 16:56:29 -07:00
parent 4b1cd65588
commit 3e0d3ce518
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ end
class FileInput < SimpleForm::Inputs::FileInput
def input_html_classes
super.delete_if { |html_class| html_class == 'file' }
super.delete_if { |html_class| html_class == :file }
super.push('file-upload')
end
end