##// END OF EJS Templates
pull-requests: redirect to repo PR after delete instead of my account.
marcink -
r2051:e0dd362a default
parent child Browse files
Show More
@@ -1015,7 +1015,8 b' class RepoPullRequestsView(RepoAppView, '
1015 Session().commit()
1015 Session().commit()
1016 h.flash(_('Successfully deleted pull request'),
1016 h.flash(_('Successfully deleted pull request'),
1017 category='success')
1017 category='success')
1018 raise HTTPFound(h.route_path('my_account_pullrequests'))
1018 raise HTTPFound(h.route_path('pullrequest_show_all',
1019 repo_name=self.db_repo_name))
1019
1020
1020 log.warning('user %s tried to delete pull request without access',
1021 log.warning('user %s tried to delete pull request without access',
1021 self._rhodecode_user)
1022 self._rhodecode_user)
General Comments 0
You need to be logged in to leave comments. Login now