mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-27 11:16:10 +01:00
harmonizing todo_tag_list and tag_list, using just the shorter tag_list
This commit is contained in:
parent
89f96da623
commit
51da342cdc
10 changed files with 22 additions and 23 deletions
|
|
@ -1269,8 +1269,8 @@ class TodosController < ApplicationController
|
|||
end
|
||||
|
||||
def update_tags
|
||||
if params[:todo_tag_list]
|
||||
@todo.tag_with(params[:todo_tag_list])
|
||||
if params[:tag_list]
|
||||
@todo.tag_with(params[:tag_list])
|
||||
@todo.tags(true) #force a reload for proper rendering
|
||||
end
|
||||
end
|
||||
|
|
@ -1423,7 +1423,7 @@ class TodosController < ApplicationController
|
|||
end
|
||||
|
||||
def tag_list
|
||||
@params['todo_tag_list']
|
||||
@params['tag_list']
|
||||
end
|
||||
|
||||
def predecessor_list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue