Actions
Defect #5700
closedTimelogController#destroy assumes success
Defect #5700:
TimelogController#destroy assumes success
Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
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
Actions