settings and sessions UI

This commit is contained in:
joshua-arts
2018-05-28 18:10:20 -04:00
parent 6c1074443f
commit 79d63e7b70
12 changed files with 306 additions and 167 deletions

View File

@ -81,6 +81,10 @@ class User < ApplicationRecord
end
end
def firstname
name.split(' ').first
end
private
# Initializes a room for the user.