~edwargix/git.sr.ht

a0e9ae716e0c2c50b44e580ec66e639e8cd25901 — Drew DeVault 1 year, 9 months ago 58f956a
blueprints/manage.py: fix incorrect route name
1 files changed, 1 insertions(+), 1 deletions(-)

M gitsrht/blueprints/manage.py
M gitsrht/blueprints/manage.py => gitsrht/blueprints/manage.py +1 -1
@@ 178,7 178,7 @@ def settings_rename_POST(owner_name, repo_name):
def settings_access(owner_name, repo_name):
    owner, repo = check_access(owner_name, repo_name, UserAccess.manage)
    if isinstance(repo, Redirect):
        return redirect(url_for(".settings_manage",
        return redirect(url_for(".settings_access",
            owner_name=owner_name, repo_name=repo.new_repo.name))
    return render_template("settings_access.html", owner=owner, repo=repo)