diff options
author | Simon Knox <psimyn@gmail.com> | 2018-01-08 21:06:24 +1100 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2018-01-08 21:06:24 +1100 |
commit | 90b63edc9deee906ff770d3be3322e99f4a196b4 (patch) | |
tree | dd2a235328274736529470943f164b62209b5c93 | |
parent | 5efa48a59652d867514bbec5924162ecaa6fabb1 (diff) | |
download | gitlab-ce-90b63edc9deee906ff770d3be3322e99f4a196b4.tar.gz |
skeleton notes for discussions instead of notes
-rw-r--r-- | app/helpers/notes_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/notes_helper.rb b/app/helpers/notes_helper.rb index 2b62fa55d71..6bb6519769c 100644 --- a/app/helpers/notes_helper.rb +++ b/app/helpers/notes_helper.rb @@ -165,7 +165,7 @@ module NotesHelper markdownDocsPath: help_page_path('user/markdown'), quickActionsDocsPath: help_page_path('user/project/quick_actions'), notesPath: notes_url, - totalNotes: issuable.notes.length, + totalNotes: issuable.discussions.length, lastFetchedAt: Time.now }.to_json end |