jaspermayone / greenhouse

0 stars 0 forks source link

Actually design this view #158

Closed github-actions[bot] closed 2 months ago

github-actions[bot] commented 3 months ago

https://github.com/jaspermayone/greenhouse/blob/0f9e80a710655b66346e864a75b3e3af11e66cc2/app/mailers/admin_mailer.rb#L6


# frozen_string_literal: true

class AdminMailer < ApplicationMailer
  default from: "noreply@greenhouse.directory"

  # TODO: Actually design this view
  def notify_missing_approver(agent)
    @agent = agent
    mail(to: "admin@greenhouse.directory", subject: "[ACTION] ~ Missing Agent Approver")
  end

  # TODO: Actually design this view
  def notify_new_agent_for_approval(agent)
    @agent = agent
    mail(to: "admin@greenhouse.directory", subject: "[ACTION] ~ New Agent Approval needed.")
  end

end
jaspermayone commented 2 months ago

Dupe of #157