Files
fizzy/app/mailers/notification/bundle_mailer.rb
T
Stanko Krtalić 98755844a1 Remove the internal API
* Bind sessions to identities
* Remove references to the identity token
* Move email changes to identity
* Move account menu into a turbo-frame
* Create tenants from a tenanted route
2025-10-31 16:26:08 +01:00

17 lines
407 B
Ruby

class Notification::BundleMailer < ApplicationMailer
include Mailers::Unsubscribable
helper NotificationsHelper
def notification(bundle)
@user = bundle.user
@bundle = bundle
@notifications = bundle.notifications
@unsubscribe_token = @user.generate_token_for(:unsubscribe)
mail \
to: bundle.user.identity.email_address,
subject: "Latest Activity in BOXCAR"
end
end