Updates on Templates assets

Former-commit-id: 58946e691eb5d223e9e36126e7c192ade2518538
This commit is contained in:
Henrique Dias
2017-06-25 21:54:01 +01:00
parent d91464c77a
commit b02ac893ec
4 changed files with 23 additions and 13 deletions

View File

@@ -90,7 +90,7 @@ func serveListing(w http.ResponseWriter, r *http.Request, c *FileManager, u *Use
Data: listing,
}
return p.PrintAsHTML(w, c.Assets.Templates, "listing")
return p.PrintAsHTML(w, c, "listing")
}
// handleSortOrder gets and stores for a Listing the 'sort' and 'order',