Update archive_files_controller.rb

fix error
This commit is contained in:
chiu 2019-09-18 20:02:38 +08:00
parent 19e80f35f5
commit 5c63fb8ac0
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,8 @@ class Admin::ArchiveFilesController < OrbitAdminController
end
end
def categories_order
render :text => ModuleApp.where(:key => "archive").inspect
@categories = @module_app.categories
render :partial => "categories_order"
end
def create
@archive_file = ArchiveFile.new(archive_vars)