summaryrefslogtreecommitdiffstats
path: root/app/controllers/timelog_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-04 10:40:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-04 10:40:44 +0000
commit37ed02553aee58d1b269c3ec8786bc8daff05484 (patch)
tree2337dbb17e617c6159fbebed2098cc2211c55f55 /app/controllers/timelog_controller.rb
parentf7cf8aa87845f9abf86d3d8e0449409a0d8d2cce (diff)
downloadredmine-37ed02553aee58d1b269c3ec8786bc8daff05484.tar.gz
redmine-37ed02553aee58d1b269c3ec8786bc8daff05484.zip
Fixes test failure in r4461.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4462 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/timelog_controller.rb')
-rw-r--r--app/controllers/timelog_controller.rb2
1 files changed, 1 insertions, 1 deletions
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) }