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:
insoshi / app / helpers / communications_helper.rb
100644 13 lines (11 sloc) 0.278 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
module CommunicationsHelper
  def contact_links(requested_contacts)
    requested_contacts.map do |contact|
      conn = Connection.conn(current_person, contact)
      edit_connection_path(conn)
    end
  end
 
  def message_anchor(message)
    "message_#{message.id}"
  end
end