forked from External/greenlight
add links to personal room and root
This commit is contained in:
@ -11,4 +11,8 @@ class User < ApplicationRecord
|
||||
def self.twitter_username(auth_hash)
|
||||
auth_hash['info']['nickname']
|
||||
end
|
||||
|
||||
def room_url
|
||||
"/rooms/#{username}"
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user