summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-10-06 05:47:30 -0700
committerStan Hu <stanhu@gmail.com>2018-10-06 05:47:30 -0700
commit32eebfcfe11144e2be2ac8b9adc74c98427849cd (patch)
tree0c927a1a6e6d8a8cf721d663b7f8c72fa7524bf5
parent50c9a09a04048d5d46163fb97be34a739708e7ca (diff)
downloadgitlab-ce-32eebfcfe11144e2be2ac8b9adc74c98427849cd.tar.gz
Fix comments in app/models/note.rb
This resolves a conflict and inconsistency with the EE version of app/models/note.rb.
-rw-r--r--app/models/note.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/note.rb b/app/models/note.rb
index 1b595ef60b4..95e1d3afa00 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -38,14 +38,14 @@ class Note < ActiveRecord::Base
alias_attribute :last_edited_at, :updated_at
alias_attribute :last_edited_by, :updated_by
- # Number of user visible references as generated by Banzai::ObjectRenderer
+ # Attribute containing rendered and redacted Markdown as generated by
+ # Banzai::ObjectRenderer.
attr_accessor :redacted_note_html
# Total of all references as generated by Banzai::ObjectRenderer
attr_accessor :total_reference_count
- # An Array containing the number of visible references as generated by
- # Banzai::ObjectRenderer
+ # Number of user visible references as generated by Banzai::ObjectRenderer
attr_accessor :user_visible_reference_count
# Attribute used to store the attributes that have been changed by quick actions.