Sha256: f731f0ea3b0fd0857d36e171d817c38f01379427b3c6df8b10ed0a018d8cfa35

Contents?: true

Size: 248 Bytes

Versions: 2

Compression:

Stored size: 248 Bytes

Contents

# frozen_string_literal: true

module UploadUtil
  def self.kithe_upload_data_config(toggle_value: "kithe-upload")
    {
      toggle: toggle_value,
      upload_endpoint: Rails.application.routes.url_helpers.direct_app_upload_path
    }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
geoblacklight_admin-0.2.1 app/controllers/admin/concerns/upload_util.rb
geoblacklight_admin-0.1.0 app/controllers/admin/concerns/upload_util.rb