Sha256: e92034fa4a1ad08cfb68ae726006421d1bdb60a243a5876beaef8d047550f396
Contents?: true
Size: 450 Bytes
Versions: 19
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true module Decidim::Cw # This class deals with saving download your data Zip Files to App class DownloadYourDataUploader < ApplicationUploader # Override the directory where uploaded files will be stored. def store_dir default_path = "uploads/download-your-data/" return File.join(Decidim.base_uploads_path, default_path) if Decidim.base_uploads_path.present? default_path end end end
Version data entries
19 entries across 19 versions & 1 rubygems