Add missing email previews

This commit is contained in:
Trevor Vallender 2024-05-30 14:39:41 +01:00
parent 46d8a4bbca
commit 01c0ab9cc0
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,12 @@
# frozen_string_literal: true
# Preview all emails at http://localhost:3000/rails/mailers/table_invite_mailer
class TableInviteMailerPreview < ActionMailer::Preview
def invite_user
TableInviteMailer.with(table_invite: TableInvite.first).invite_user
end
def invite_new_user
TableInviteMailer.with(table_invite: TableInvite.first).invite_new_user
end
end

View File

@ -1,4 +1,4 @@
- user page, avatar, profile description - avatars
- list invites on user page - list invites on user page
- notifications - notifications
- Add characters to users/tables - Add characters to users/tables