Update archive_files_controller.rb

try
This commit is contained in:
chiu 2019-09-18 20:12:40 +08:00
parent e3d8f748bf
commit a9f8922cfe
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class Admin::ArchiveFilesController < OrbitAdminController
end
def categories_order
@categories = @module_app.categories
render :partial => "categories_order"
render :partial => "categories_order" if request.xhr?
end
def create
@archive_file = ArchiveFile.new(archive_vars)