e16cc21b0a
- Adds a button in Account Settings where you can request a ZIP export of your Fizzy data - Export files are created in the background. When ready, a link to download them is sent to the requester. - Exports expire after 24 hours. And are limited to 10 per day.
12 lines
236 B
Ruby
12 lines
236 B
Ruby
class ExportMailerPreview < ActionMailer::Preview
|
|
def completed
|
|
export = Account::Export.new(
|
|
id: "preview-export-id",
|
|
account: Account.first,
|
|
user: User.first
|
|
)
|
|
|
|
ExportMailer.completed(export)
|
|
end
|
|
end
|