Merge branch 'master' of github.com:kirsle/blog

pull/4/head
Noah 2018-01-02 19:19:03 +00:00
commit 4cfc5bbd3d
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ func (b *Blog) BlogRoutes(r *mux.Router) {
r.HandleFunc("/archive", b.BlogArchive)
r.HandleFunc("/tagged", b.Tagged)
r.HandleFunc("/tagged/{tag}", b.Tagged)
r.HandleFunc("/category/{tag}", func(w http.ResponseWriter, r *http.Request) {
r.HandleFunc("/blog/category/{tag}", func(w http.ResponseWriter, r *http.Request) {
params := mux.Vars(r)
tag, ok := params["tag"]
if !ok {