diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb index 4bec02f359363b0a20fea1ecfd059cc63ebecbef..78d31490db5ef93871f428fd5d14b46a00b2b0cf 100644 --- a/app/controllers/timelog_controller.rb +++ b/app/controllers/timelog_controller.rb @@ -179,7 +179,7 @@ class TimelogController < ApplicationController else respond_to do |format| format.html { - flash[:notice] = l(:notice_unable_delete_time_entry) + flash[:error] = l(:notice_unable_delete_time_entry) redirect_to :back } format.api { render_validation_errors(@time_entry) }