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