Sha256: f4d24ca1e01f01ad37589e4a6a292a41765e3370fb371dfe5cc9596d8c793917
Contents?: true
Size: 566 Bytes
Versions: 17
Compression:
Stored size: 566 Bytes
Contents
# frozen_string_literal: true module Decidim # This class deals with saving data portability Zip Files to App class DataPortabilityUploader < CarrierWave::Uploader::Base # Override the directory where uploaded files will be stored. # def store_dir # default_path = "tmp/data-portability/" # File.join(Rails.root, default_path) # end def store_dir default_path = "tmp/data-portability/" return File.join(Decidim.base_uploads_path, default_path) if Decidim.base_uploads_path.present? default_path end end end
Version data entries
17 entries across 17 versions & 1 rubygems