diff options
author | Felipe Artur <fcardozo@gitlab.com> | 2018-11-05 15:30:14 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-11-05 15:30:14 +0300 |
commit | b4d005eb7b4a51e8cf6b11e6aea3d0c264e4abfd (patch) | |
tree | 2d073cb044761fce0a08ca375b195e12836c985b /app/models/note.rb | |
parent | 90473e064eac21be283e751005e0c7abbdbf9089 (diff) |
Add 'only history' option to notes filter
Diffstat (limited to 'app/models/note.rb')
-rw-r--r-- | app/models/note.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index 990689a95f5..592efb714f3 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -117,6 +117,8 @@ class Note < ActiveRecord::Base case notes_filter when UserPreference::NOTES_FILTERS[:only_comments] user + when UserPreference::NOTES_FILTERS[:only_activity] + system else all end |