parent
6c516780ab
commit
93c25e65b0
|
@ -15,7 +15,6 @@ class Admin::ArchiveFilesController < OrbitAdminController
|
|||
end
|
||||
keys.each_with_index do |key,index|
|
||||
archivecategory = ArchiveCategory.where(category_id: key)
|
||||
puts archivecategory.inspect
|
||||
if !(values[index].empty?)
|
||||
archivecategory.first.update_attributes(sort_number: values[index].to_i)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue