Update archive_files_controller.rb

inspect
This commit is contained in:
chiu 2019-09-18 21:56:50 +08:00
parent ccc38b670a
commit 490b4a675a
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ class Admin::ArchiveFilesController < OrbitAdminController
redirect_to '/' + I18n.locale.to_s + module_pages[0] + '?title=' + params['title'].to_s redirect_to '/' + I18n.locale.to_s + module_pages[0] + '?title=' + params['title'].to_s
end end
end end
def save_categories_order
puts params.inspect
end
def index def index
if ArchiveSortOrder.count == 0 if ArchiveSortOrder.count == 0