gitlab-org--gitlab-foss/lib/gitlab/template_helper.rb
James Lopez a2aa505805
Refactor code to remove object storage flag from Import/Export
Updated docs, refactor import/export code
Fix AvatarUploader path issue
Fix project export upload webhook error
2018-09-06 16:52:42 +02:00

13 lines
258 B
Ruby

module Gitlab
module TemplateHelper
def prepare_template_environment(file)
return unless file
params[:import_export_upload] = ImportExportUpload.new(import_file: file)
end
def tmp_filename
SecureRandom.hex
end
end
end