mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-20 06:08:08 +01:00
manual add fix of piglop to prevent todos from staying hidden forever
This commit is contained in:
parent
0674c59d54
commit
8ff7afb88c
3 changed files with 214 additions and 177 deletions
|
|
@ -231,7 +231,9 @@ class TodosController < ApplicationController
|
|||
@todo.activate!
|
||||
end
|
||||
|
||||
@saved = @todo.update_attributes params["todo"]
|
||||
@todo.attributes = params["todo"]
|
||||
@saved = @todo.save
|
||||
|
||||
@context_changed = @original_item_context_id != @todo.context_id
|
||||
@todo_was_activated_from_deferred_state = @original_item_was_deferred && @todo.active?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue