public
Description: The open source social networking platform in Ruby on Rails from the author of RailsSpace
Homepage: http://insoshi.com
Clone URL: git://github.com/insoshi/insoshi.git
Search Repo:
Fixed email mismatch
Michael Hartl (author)
Tue May 13 12:11:23 -0700 2008
commit  c8947d762559effdae619a1f39df96016087da7e
tree    84fde7c2542efc06cd90e16e5d1bf6bc3c7302a7
parent  3138fdb99082fe27c908bf77d52e78cc11118ab3
...
25
26
27
28
 
29
30
31
32
33
 
34
35
36
...
25
26
27
 
28
29
30
31
32
 
33
34
35
36
0
@@ -25,12 +25,12 @@
0
   
0
   def connection_request(connection)
0
     from "Contact request <connection@#{domain}>"
0
- recipients connection.contact.email
0
+ recipients connection.person.email
0
     subject formatted_subject("New contact request")
0
     body "domain" => server,
0
                  "connection" => connection,
0
                  "url" => edit_connection_path(connection),
0
- "preferences_note" => preferences_note(connection.contact)
0
+ "preferences_note" => preferences_note(connection.person)
0
   end
0
   
0
   def blog_comment_notification(comment)
...
1
 
2
3
4
...
 
1
2
3
4
0
@@ -1,4 +1,4 @@
0
-You have a new connection request from <%= @connection.person.name %>:
0
+You have a new connection request from <%= @connection.contact.name %>:
0
 
0
 http://<%= @domain %><%= @url %>
0
 

Comments

    No one has commented yet.