diff --git a/views/history.qtpl b/views/history.qtpl index bdece41..4864f42 100644 --- a/views/history.qtpl +++ b/views/history.qtpl @@ -11,7 +11,7 @@ {% func PrimitiveDiffHTML(rq *http.Request, h *hyphae.Hypha, u *user.User, hash string) %} {% code -text, err := history.PrimitiveDiffAtRevision(h.TextPath, hash) +text, err := history.PrimitiveDiffAtRevision(h.TextPartPath(), hash) if err != nil { text = err.Error() } diff --git a/views/history.qtpl.go b/views/history.qtpl.go index a306107..5780fc3 100644 --- a/views/history.qtpl.go +++ b/views/history.qtpl.go @@ -47,7 +47,7 @@ func StreamPrimitiveDiffHTML(qw422016 *qt422016.Writer, rq *http.Request, h *hyp qw422016.N().S(` `) //line views/history.qtpl:14 - text, err := history.PrimitiveDiffAtRevision(h.TextPath, hash) + text, err := history.PrimitiveDiffAtRevision(h.TextPartPath(), hash) if err != nil { text = err.Error() }