changed in destroy action in todos_controller.rb