style fixes

This commit is contained in:
albert
2011-12-06 18:58:26 -05:00
parent 4baf5be7a2
commit 8e3a6c5923
9 changed files with 22 additions and 11 deletions

View File

@@ -57,10 +57,6 @@ class Comment < ActiveRecord::Base
return vote
end
def creator_name
creator.name.tr("_", " ")
end
def editable_by?(user)
creator_id == user.id || user.is_moderator?
end