~edwargix/git.sr.ht

dcda650ba489cfebe6863b3c8b54f7695354057c — Drew DeVault 6 years ago 3dc3d53
Revert mistaken overcorrection from last commit

This render_template paramter *should* be the repo object.
1 files changed, 1 insertions(+), 1 deletions(-)

M gitsrht/blueprints/repo.py
M gitsrht/blueprints/repo.py => gitsrht/blueprints/repo.py +1 -1
@@ 485,4 485,4 @@ def ref(owner, repo, ref):
            return redirect(url_for(".commit",
                owner=owner, repo=repo.name, ref=tag.id.hex))
        return render_template("ref.html", view="refs",
                owner=owner, repo=repo.name, git_repo=git_repo, tag=tag)
                owner=owner, repo=repo, git_repo=git_repo, tag=tag)