Merge branch '8784-dir-listings'
[arvados.git] / services / api / app / mailers / profile_notifier.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class ProfileNotifier < ActionMailer::Base
6   default from: Rails.configuration.admin_notifier_email_from
7
8   def profile_created(user, address)
9     @user = user
10     mail(to: address, subject: "Profile created by #{@user.email}")
11   end
12 end