@@ -125,7 +125,7 class Journal < ActiveRecord::Base | |||
|
125 | 125 | end |
|
126 | 126 | |
|
127 | 127 | def attachments |
|
128 |
journalized.respond_to?(:attachments) ? journalized.attachments : |
|
|
128 | journalized.respond_to?(:attachments) ? journalized.attachments : [] | |
|
129 | 129 | end |
|
130 | 130 | |
|
131 | 131 | # Returns a string of css classes |
General Comments 0
You need to be logged in to leave comments.
Login now