app/models/digital_asset.rb in daengine-0.3.9.3 vs app/models/digital_asset.rb in daengine-0.3.9.4
- old
+ new
@@ -81,9 +81,13 @@
def doc_changed_at(path)
path_is(path).try(:doc_changed_at)
end
+ def doc_size
+ first_non_finra.try(:size)
+ end
+
def content_type_ids
ids = []
documents.try(:each) do |d|
ids << d.content_type
end