Module: SocialEngine::Helpers::User

Included in:
Comment
Defined in:
app/models/social_engine/helpers.rb

Instance Method Summary collapse

Instance Method Details

#emailObject



8
9
10
# File 'app/models/social_engine/helpers.rb', line 8

def email
  self.user ? self.user.email : self.unauthenticated_email
end

#nameObject



4
5
6
# File 'app/models/social_engine/helpers.rb', line 4

def name
  self.user ? self.user.name : self.unauthenticated_name
end

#websiteObject



12
13
14
# File 'app/models/social_engine/helpers.rb', line 12

def website
  self.user ? self.user.website : self.unauthenticated_website
end