Correct template name

This commit is contained in:
Eliot Whalan 2016-06-24 11:24:24 +10:00
parent c04cb8aabb
commit b7365e1242
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ func pasteHandler(w http.ResponseWriter, r *http.Request) {
Raw: link, Raw: link,
Home: ADDRESS, Home: ADDRESS,
} }
err := templates.ExecuteTemplate(w, "assets/paste.html", p) err := templates.ExecuteTemplate(w, "paste.html", p)
if err != nil { if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError) http.Error(w, err.Error(), http.StatusInternalServerError)
} }