diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/account.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/account.rb b/app/models/account.rb index fac835168..42d92eddf 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -37,6 +37,14 @@ class Account < ActiveRecord::Base :person end + def title + self.username + end + + def summary + self.note + end + def subscribed? !(self.secret.blank? || self.verify_token.blank?) end |