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