Update archive_files_controller.rb

remove puts
This commit is contained in:
chiu 2019-09-19 19:17:43 +08:00
parent 6c516780ab
commit 93c25e65b0
1 changed files with 0 additions and 1 deletions

View File

@ -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