forked from jason/cpolis
Deleted ServePDFs() and added ServePDF()
This commit is contained in:
@@ -56,6 +56,7 @@ func main() {
|
||||
mux.HandleFunc("GET /hub", f.ShowHub(config, db, store))
|
||||
mux.HandleFunc("GET /logout", f.Logout(config, store))
|
||||
mux.HandleFunc("GET /pdf/get-list", f.ServePDFList(config))
|
||||
mux.HandleFunc("GET /pdf/{id}", f.ServePDF(config))
|
||||
mux.HandleFunc("GET /pics/{pic}", f.ServeImage(config, store))
|
||||
mux.HandleFunc("GET /publish-article/{id}", f.PublishArticle(config, db, store))
|
||||
mux.HandleFunc("GET /publish-issue", f.PublishLatestIssue(config, db, store))
|
||||
|
Reference in New Issue
Block a user