diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-05 11:38:45 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-05 11:38:45 +0000 |
commit | efccc61d79d35c25c44dc87148b0943c4fd007cb (patch) | |
tree | c60a7f0864d90b3dc254df8a476547e84c6ded94 /app/controllers/timelog_controller.rb | |
parent | 1eab530e927f58e3a576b7fe5659a20e6494a406 (diff) | |
download | redmine-efccc61d79d35c25c44dc87148b0943c4fd007cb.tar.gz redmine-efccc61d79d35c25c44dc87148b0943c4fd007cb.zip |
Fixed: DoubleRenderError introduced by #7996.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5318 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/timelog_controller.rb')
-rw-r--r-- | app/controllers/timelog_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb index 882000817..2b752c674 100644 --- a/app/controllers/timelog_controller.rb +++ b/app/controllers/timelog_controller.rb @@ -195,9 +195,11 @@ class TimelogController < ApplicationController } format.api { render_validation_errors(t) } end + return end rescue ::ActionController::RedirectBackError redirect_to :action => 'index', :project_id => @projects.first + return end end |