Sha256: 6aa25d0a5cb68931937a20a718fe4c13aa4e841a322c16c886573ac6f378031d
Contents?: true
Size: 303 Bytes
Versions: 96
Compression:
Stored size: 303 Bytes
Contents
# MonkeyPatch para que las direct uploads usen el service # local. Si se usa S3 es complicado, porque hay que setear # la CORS config. ActiveStorage::DirectUploadsController.class_eval do alias_method :old_blob_args, :blob_args def blob_args old_blob_args.merge(service_name: :local) end end
Version data entries
96 entries across 96 versions & 1 rubygems