#1955: Use existing user parameter in taggable models instead of passing it

This commit is contained in:
Jyri-Petteri Paloposki 2019-06-26 00:19:32 +03:00
parent 5394973346
commit f6d1f243c5
5 changed files with 12 additions and 12 deletions

View file

@ -50,7 +50,7 @@ class TodoFromRichMessage
todo.project_id = project_id unless project_id.nil?
todo.show_from = show_from if show_from.is_a? Time
todo.due = due if due.is_a? Time
todo.tag_with tags, @user unless tags.nil? || tags.empty?
todo.tag_with tags unless tags.nil? || tags.empty?
todo.starred = star
todo
end