Project

General

Profile

Actions

Defect #5700

closed

TimelogController#destroy assumes success

Added by Eric Davis over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
2010-06-16
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed
Affected version:

Description

TimelogController#destroy assumes that deleting the TimeEntry always succeeds. It should check if @time_entry.destroy was successful and change the flash message based on that.


Files

5700.diff (3.35 KB) 5700.diff Jan from Planio www.plan.io, 2010-06-20 20:27
5700.diff (3.37 KB) 5700.diff Jan from Planio www.plan.io, 2010-06-20 20:47
Actions

Also available in: Atom PDF