mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-25 10:42:11 +00:00
done page
This commit is contained in:
@@ -7,6 +7,8 @@ class User < ApplicationRecord
|
||||
|
||||
has_many :connections
|
||||
|
||||
mount_uploader :photo, PhotoUploader
|
||||
|
||||
def contacts
|
||||
self.connections.map do |connection|
|
||||
connection.contact
|
||||
|
||||
Reference in New Issue
Block a user