From 37ed02553aee58d1b269c3ec8786bc8daff05484 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 4 Dec 2010 10:40:44 +0000 Subject: [PATCH] Fixes test failure in r4461. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4462 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/timelog_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb index 4bec02f35..78d31490d 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) } -- 2.39.5