diff --git a/app/services/report.rb b/app/services/report.rb index dbfb50b4..5a6de19b 100644 --- a/app/services/report.rb +++ b/app/services/report.rb @@ -29,7 +29,7 @@ def filename end def data - report.csv + @data ||= report.csv end private