:content_type => content_type(attachable.path),
:identify => false)
else
- super(attachable)
+ super
end
end
def public?
- visibility == "public" || visibility == "identifiable"
+ %w[public identifiable].include?(visibility)
end
def trackable?
- visibility == "trackable" || visibility == "identifiable"
+ %w[trackable identifiable].include?(visibility)
end
def identifiable?