Add missing email previews
This commit is contained in:
parent
46d8a4bbca
commit
01c0ab9cc0
|
@ -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
|
Loading…
Reference in New Issue