98755844a1
* 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
17 lines
407 B
Ruby
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
|