mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-02 02:50:16 +01:00
#1955: Use existing user parameter in taggable models instead of passing it
This commit is contained in:
parent
5394973346
commit
f6d1f243c5
5 changed files with 12 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue