Romain added hangup

This commit is contained in:
Ethan Fraenkel
2018-09-04 14:50:44 +02:00
parent a48f955914
commit 95d0c2f5cd
9 changed files with 51 additions and 3 deletions

View File

@@ -10,6 +10,8 @@ class User < ApplicationRecord
has_many :chat_rooms, through: :chat_room_participations
has_many :requests
validates :email, uniqueness: true
mount_uploader :photo, PhotoUploader
def contacts