parent
e3923bb5ff
commit
0dce0e1cc8
|
@ -17,7 +17,7 @@ class Admin::ArchiveFilesController < OrbitAdminController
|
|||
keys.each_with_index do |key,index|
|
||||
archivecategory = ArchiveCategory.where(category_id: key)
|
||||
if !(values[index].empty?)
|
||||
archivecategory.first['sort_number'] = values[index]_.to_i
|
||||
archivecategory.first['sort_number'] = values[index].to_i
|
||||
archivecategory.first.save!
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue