diff --git a/app/models/journal.rb b/app/models/journal.rb index 927f86f..22be9d9 100644 --- a/app/models/journal.rb +++ b/app/models/journal.rb @@ -118,7 +118,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