Sha256: 64ab6975d3a3e63bce6d82d5151a3203f1cea3285db00f40632ce71415dcb906
Contents?: true
Size: 339 Bytes
Versions: 10
Compression:
Stored size: 339 Bytes
Contents
module TypeStation class FileController < TypeStation::ApplicationController def download redirect_to private_download_url end private def private_download_url Cloudinary::Utils.private_download_url(params[:identifier], params[:format], attachment: true, expires_at: 1.minute.from_now ) end end end
Version data entries
10 entries across 10 versions & 1 rubygems