diff options
author | Rémy Coutable <remy@rymai.me> | 2016-03-31 09:20:27 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-03-31 09:20:27 +0200 |
commit | 091b8a6ede2515bb555ec8662b9d933d70bda3e9 (patch) | |
tree | de0fdf7c7e3559debe86a29c1a9fd309c122ab73 /app/services/todo_service.rb | |
parent | 0af8587d88bd03d107438343b7895ad30f7a9308 (diff) | |
download | gitlab-ce-091b8a6ede2515bb555ec8662b9d933d70bda3e9.tar.gz |
Rename Note#for_project_snippet? to #for_snippet?
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/services/todo_service.rb')
-rw-r--r-- | app/services/todo_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/todo_service.rb b/app/services/todo_service.rb index f2662922e90..c678c84f22c 100644 --- a/app/services/todo_service.rb +++ b/app/services/todo_service.rb @@ -123,7 +123,7 @@ class TodoService def handle_note(note, author) # Skip system notes, and notes on project snippet - return if note.system? || note.for_project_snippet? + return if note.system? || note.for_snippet? project = note.project target = note.noteable |