debshots/app/mailers/admin_mailer.rb
2021-02-25 02:43:14 +01:00

9 lines
289 B
Ruby

class AdminMailer < ApplicationMailer
default from: 'notifications@mentors.debian.net'
def new_uploads_email
@package = params[:package]
#@url = 'http://example.com/login'
mail(to: 'email@christoph-haas.de', subject: 'Please moderate new screenshot uploads')
end
end