1. Dies Koper
  2. RhodeCode

Commits

Marcin Kuzminski  committed aa89767

fix redirection on repo create failures

  • Participants
  • Parent commits 22f7956
  • Branches beta

Comments (0)

Files changed (1)

File rhodecode/controllers/admin/repos.py

View file
             msg = _('error occurred during creation of repository %s') \
                     % form_result.get('repo_name')
             h.flash(msg, category='error')
+            return redirect(url('repos'))
         #redirect to our new repo !
         return redirect(url('summary_home', repo_name=new_repo.repo_name))