done page

This commit is contained in:
Benjamin Myara
2018-08-29 16:58:21 +01:00
parent 6dee298b44
commit 25c6c3aeb5
11 changed files with 41 additions and 11 deletions

View File

@@ -7,6 +7,8 @@ class User < ApplicationRecord
has_many :connections
mount_uploader :photo, PhotoUploader
def contacts
self.connections.map do |connection|
connection.contact