tabletop-companion/app/mailers/table_invite_mailer.rb

12 lines
255 B
Ruby
Raw Normal View History

2024-05-29 15:47:31 +00:00
# frozen_string_literal: true
class TableInviteMailer < ApplicationMailer
helper(:mailer)
def invite_user
@table_invite = params[:table_invite]
mail(to: @table_invite.email, subject: "[Tabletop Companion] Invite to join a table")
end
end