24308.patch

Roman Shipiev, 2016-11-09 14:55

Download (423 Bytes)

View differences:

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