Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def startCompetitionPlaoff(competition)
- @competition = Competition.find(competition.id)
- @competition.users.each do |i|
- @user = User.find(i)
- mail( :to => @user.email, :subject => "Start Competition") do |format|
- format.html
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement