Fixes test failure in r4461.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4462 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f7cf8aa878
commit
37ed02553a
|
@ -179,7 +179,7 @@ class TimelogController < ApplicationController
|
||||||
else
|
else
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html {
|
format.html {
|
||||||
flash[:notice] = l(:notice_unable_delete_time_entry)
|
flash[:error] = l(:notice_unable_delete_time_entry)
|
||||||
redirect_to :back
|
redirect_to :back
|
||||||
}
|
}
|
||||||
format.api { render_validation_errors(@time_entry) }
|
format.api { render_validation_errors(@time_entry) }
|
||||||
|
|
Loading…
Reference in New Issue