continued work on site profile, tag adding

This commit is contained in:
Kyle Drake 2014-05-30 21:18:55 -07:00
parent 264e4becea
commit d9b33238e9
10 changed files with 110 additions and 14 deletions

View file

@ -13,7 +13,7 @@ class Event < Sequel::Model
many_to_one :actioning_site, key: :actioning_site_id, class: :Site
def created_by?(site)
return true if profile_comment && profile_comment.actioning_site_id == site.id
return true if actioning_site_id == site.id
false
end