forked from External/greenlight
redesigned meeting and room page
This commit is contained in:
@ -19,6 +19,14 @@ class User < ApplicationRecord
|
||||
auth_hash['info']['nickname']
|
||||
end
|
||||
|
||||
def ownership_name
|
||||
if username.end_with? 's'
|
||||
"#{username}'"
|
||||
else
|
||||
"#{username}'s"
|
||||
end
|
||||
end
|
||||
|
||||
def room_url
|
||||
"/rooms/#{username}"
|
||||
end
|
||||
|
Reference in New Issue
Block a user