Fixed: DoubleRenderError introduced by #7996.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5318 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1eab530e92
commit
efccc61d79
|
@ -195,9 +195,11 @@ class TimelogController < ApplicationController
|
||||||
}
|
}
|
||||||
format.api { render_validation_errors(t) }
|
format.api { render_validation_errors(t) }
|
||||||
end
|
end
|
||||||
|
return
|
||||||
end
|
end
|
||||||
rescue ::ActionController::RedirectBackError
|
rescue ::ActionController::RedirectBackError
|
||||||
redirect_to :action => 'index', :project_id => @projects.first
|
redirect_to :action => 'index', :project_id => @projects.first
|
||||||
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue