Skip to content

Commit

Permalink
send to mumos
Browse files Browse the repository at this point in the history
  • Loading branch information
mumoc committed Jan 16, 2012
1 parent 51d8459 commit 2389f7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/mailers/message.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
class Message < ActionMailer::Base
default from: "[email protected]"
default from: " CMOJ <[email protected]>"

def contact_mail sender, message
mail(:to => 'mumo.[email protected]', :subject => "Test Contact") do |format|
mail(:to => ['carlos@mumo.mx','[email protected]'], :subject => "Test Contact") do |format|
format.html { render 'public_message', :locals => {:sender => sender, :message => message} }
end
end

def suggestion sender, message
mail(:to => 'mumo.[email protected]', :subject => "Test Suggestion") do |format|
mail(:to => ['carlos@mumo.mx','[email protected]'], :subject => "Test Suggestion") do |format|
format.html { render 'suggestions', :locals => {:sender => sender, :message => message} }
end
end
Expand Down

0 comments on commit 2389f7e

Please sign in to comment.