3 4 5 6 7 8
# File 'app/mailers/jobshop/teams_mailer.rb', line 3 def found_teams(email, teams) @user = Jobshop::User.where(email: email).first @teams = teams mail(to: email, subject: "We found your Jobshop Teams!") end