Fixes test failure in r4461.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4462 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 14 years ago
parent f7cf8aa878
commit 37ed02553a
  1. 2
      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) }

Loading…
Cancel
Save