@@ -179,7 +179,7 class TimelogController < ApplicationController | |||||
179 | else |
|
179 | else | |
180 | respond_to do |format| |
|
180 | respond_to do |format| | |
181 | format.html { |
|
181 | format.html { | |
182 |
flash[: |
|
182 | flash[:error] = l(:notice_unable_delete_time_entry) | |
183 | redirect_to :back |
|
183 | redirect_to :back | |
184 | } |
|
184 | } | |
185 | format.api { render_validation_errors(@time_entry) } |
|
185 | format.api { render_validation_errors(@time_entry) } |
General Comments 0
You need to be logged in to leave comments.
Login now