Skip to content
This repository
Browse code

minor changes

  • Loading branch information...
commit 5ed59a45e5a8148276e2ce1497824ec262e29eb2 1 parent 0045587
authored April 24, 2012
1  app/helpers/application_helper.rb
@@ -185,7 +185,6 @@ def get_email(role)
185 185
   
186 186
   # getting the name from role for email accounts
187 187
   def get_name(role)
188  
-    puts APP_CONFIG[:action_mailer].inspect
189 188
     return APP_CONFIG[:action_mailer][:accounts][role][:name] if role
190 189
     APP_CONFIG[:action_mailer][:accounts][:info][:name]
191 190
   end
2  app/models/mailer.rb
@@ -33,7 +33,7 @@ def reporter_signup_notification(user)
33 33
   end
34 34
   
35 35
   def sponsor_interest_notification(user)
36  
-    recipients 
  36
+    recipients get_email(:info)
37 37
     from       get_email(:info)
38 38
     subject    "Spot.Us - Someone has signed up to a Sponsor"
39 39
     body :user => user
1  script/send_all_emails_for_testing
@@ -12,7 +12,6 @@ unless ARGV.empty?
12 12
   user = User.find_by_email(ARGV[0]) unless user
13 13
   
14 14
   if user
15  
-    Mailer.deliver_activation_email(user)
16 15
     Mailer.deliver_citizen_signup_notification(user)
17 16
     Mailer.deliver_reporter_signup_notification(user)
18 17
     Mailer.deliver_organization_signup_notification(user)

0 notes on commit 5ed59a4

Please sign in to comment.
Something went wrong with that request. Please try again.