Defect #24308 ยป 24308.patch
app/models/journal.rb | ||
---|---|---|
118 | 118 |
end |
119 | 119 | |
120 | 120 |
def attachments |
121 |
journalized.respond_to?(:attachments) ? journalized.attachments : nil
|
|
121 |
journalized.respond_to?(:attachments) ? journalized.attachments : []
|
|
122 | 122 |
end |
123 | 123 | |
124 | 124 |
# Returns a string of css classes |