This commit is contained in:
Carsten Otto 2015-04-04 17:38:51 +02:00 committed by Reinier Balt
parent eb1012f1f2
commit 502543f348

View file

@ -413,7 +413,7 @@ class TodosController < ApplicationController
@todo = current_user.todos.find(params['id'])
@original_item = current_user.todos.build(@todo.attributes) # create a (unsaved) copy of the original todo
cache_attributes_from_before_update # TODO: remove in favor of @orininal_item
cache_attributes_from_before_update # TODO: remove in favor of @original_item
update_tags
update_project