##// END OF EJS Templates
Fixed: DoubleRenderError introduced by #7996....
Jean-Philippe Lang -
r5198:efccc61d79d3
parent child
Show More
@@ -195,9 +195,11 class TimelogController < ApplicationController
195 }
195 }
196 format.api { render_validation_errors(t) }
196 format.api { render_validation_errors(t) }
197 end
197 end
198 return
198 end
199 end
199 rescue ::ActionController::RedirectBackError
200 rescue ::ActionController::RedirectBackError
200 redirect_to :action => 'index', :project_id => @projects.first
201 redirect_to :action => 'index', :project_id => @projects.first
202 return
201 end
203 end
202 end
204 end
203
205
General Comments 0
You need to be logged in to leave comments. Login now