Sha256: 3cbaadc7a3a34987a30eb89c84b79c17c91f9dd3e2d7af974bf4496d874f6dc7
Contents?: true
Size: 474 Bytes
Versions: 14
Compression:
Stored size: 474 Bytes
Contents
# frozen_string_literal: true module Decidim # This class deals with uploading open data. class OpenDataUploader < ApplicationUploader protected # Override the directory where uploaded files will be stored. We only want one copy of the Open Data # export. def store_dir default_path = "uploads/open-data" return File.join(Decidim.base_uploads_path, default_path) if Decidim.base_uploads_path.present? default_path end end end
Version data entries
14 entries across 14 versions & 1 rubygems