Browse Source

Fixed: DoubleRenderError introduced by #7996.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5318 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/1.2.0
Jean-Philippe Lang 13 years ago
parent
commit
efccc61d79
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      app/controllers/timelog_controller.rb

+ 2
- 0
app/controllers/timelog_controller.rb View File

@@ -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


Loading…
Cancel
Save