From 5d80c5199699c5348aa83061ec175a16492c30b6 Mon Sep 17 00:00:00 2001 From: aignatov-bio Date: Tue, 8 Oct 2019 20:18:51 +0200 Subject: [PATCH] Fix report in academia --- app/models/asset.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/models/asset.rb b/app/models/asset.rb index 785e8da99..0e2e76cbb 100644 --- a/app/models/asset.rb +++ b/app/models/asset.rb @@ -47,6 +47,9 @@ class Asset < ApplicationRecord attr_accessor :file_content, :file_info, :in_template + attr_accessor :file_file_name + attr_accessor :file_file_size + def self.search( user, include_archived,