summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/journal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/journal.rb b/app/models/journal.rb
index c43c4da9c..3c15d978d 100644
--- a/app/models/journal.rb
+++ b/app/models/journal.rb
@@ -125,7 +125,7 @@ class Journal < ActiveRecord::Base
end
def attachments
- journalized.respond_to?(:attachments) ? journalized.attachments : nil
+ journalized.respond_to?(:attachments) ? journalized.attachments : []
end
# Returns a string of css classes