This commit is contained in:
r888888888
2015-06-25 13:51:05 -07:00
parent 3cc7dbbedc
commit 1d9596d7f2
64 changed files with 244 additions and 140 deletions

View File

@@ -165,7 +165,7 @@ class Comment < ActiveRecord::Base
end
def editable_by?(user)
creator_id == user.id || user.is_janitor?
creator_id == user.id || user.is_moderator?
end
def hidden_attributes