#3825 Redirect back to branch list when deleting a branch
Merged 5 years ago by pingou. Opened 5 years ago by ryanlerch.
ryanlerch/pagure delete-branch-redirect  into  master

file modified
+1 -1
@@ -455,7 +455,7 @@ 

              _log.exception(err)

  

      return ret(

-         "ui_ns.view_repo", repo=name, namespace=namespace, username=user

+         "ui_ns.view_branches", repo=name, namespace=namespace, username=user

      )

  

  

Changes the pagure worker task so we re-direct back to
the branches page when deleting a branch, rather than
to the overview page.

Fixes: #3781

Pull-Request has been merged by pingou

5 years ago