Sha256: b711728c4a4b19e86a5682cb79cc653b3842e8406dadaac37045af62621a2eea
Contents?: true
Size: 473 Bytes
Versions: 7
Compression:
Stored size: 473 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
7 entries across 7 versions & 1 rubygems