Mercurial > hg > soundsoftware-site
changeset 1626:44cbe9fa0b4e live
Merge
author | Chris Cannam |
---|---|
date | Thu, 07 Feb 2019 13:49:16 +0000 |
parents | 808a40a7cac7 (diff) 76f8f0814e1e (current diff) |
children | 7e2de1c811b3 |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/plugins/acts_as_attachable/lib/acts_as_attachable.rb Fri Aug 10 16:08:05 2018 +0100 +++ b/lib/plugins/acts_as_attachable/lib/acts_as_attachable.rb Thu Feb 07 13:49:16 2019 +0000 @@ -48,7 +48,7 @@ end def attachments_deletable?(user=User.current) - (respond_to?(:visible?) ? visible?(user) : true) && + (respond_to?(:attachments_visible?) ? attachments_visible?(user) : true) && user.allowed_to?(self.class.attachable_options[:delete_permission], self.project) end