about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-02-22 19:11:07 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-02-22 19:11:07 +0100
commit2bc48e9064c56101d1761a10d8c5badba60d2bbe (patch)
treec186943465a7e455274314c19f4eba892119ede5 /app/models
parent1dad72bf13f5e28781a2b2b6654f72624d205576 (diff)
Individual atom entries
Diffstat (limited to 'app/models')
-rw-r--r--app/models/account.rb8
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