##// END OF EJS Templates
fix redirection on repo create failures
marcink -
r2707:aa897677 beta
parent child Browse files
Show More
@@ -227,6 +227,7 b' class ReposController(BaseController):'
227 msg = _('error occurred during creation of repository %s') \
227 msg = _('error occurred during creation of repository %s') \
228 % form_result.get('repo_name')
228 % form_result.get('repo_name')
229 h.flash(msg, category='error')
229 h.flash(msg, category='error')
230 return redirect(url('repos'))
230 #redirect to our new repo !
231 #redirect to our new repo !
231 return redirect(url('summary_home', repo_name=new_repo.repo_name))
232 return redirect(url('summary_home', repo_name=new_repo.repo_name))
232
233
General Comments 0
You need to be logged in to leave comments. Login now