* Refactored PostSet, splitting it into PostSets::Post and PostSets::Favorite

* Additional functional tests
This commit is contained in:
albert
2010-12-01 17:21:05 -05:00
parent f8ab736677
commit 39dd2e277a
20 changed files with 342 additions and 198 deletions

View File

@@ -31,5 +31,9 @@ module Danbooru
</script>
}.html_safe
end
def is_user_advertiser?(user)
user.is_admin? || user.name == "ppayne"
end
end
end