This commit is contained in:
Toks
2013-05-30 19:05:51 -04:00
parent 4d8ed12cc4
commit 0544759dec
3 changed files with 6 additions and 1 deletions

View File

@@ -145,6 +145,10 @@ class Pool < ActiveRecord::Base
name.tr("_", " ")
end
def pretty_category
category.titleize
end
def creator_name
User.id_to_name(creator_id)
end