Sha256: 9c81fb8c7a94ed2bec4165a51e5a6b3e5486334009539067ccf6ffdf01ab2b39
Contents?: true
Size: 298 Bytes
Versions: 8
Compression:
Stored size: 298 Bytes
Contents
class ::IshManager::EmailAttachmentsController < IshManager::ApplicationController def show att = Office::EmailAttachment.find params[:id] authorize! :show, att send_data( att.content, filename: att.filename || "this_download", type: att.content_type ) end end
Version data entries
8 entries across 8 versions & 1 rubygems