metamaps--metamaps/app/mailers/map_activity_mailer.rb
2017-11-25 11:18:32 -08:00

12 lines
303 B
Ruby

# frozen_string_literal: true
class MapActivityMailer < ApplicationMailer
default from: 'team@metamaps.cc'
def daily_summary(user, map, summary_data)
@user = user
@map = map
@summary_data = summary_data
mail(to: user.email, subject: MapActivityService.subject_line(map))
end
end