Merge pull request #397 from mrvdb/issue305

Drop the /tags/{tag} route
pull/406/head
Matt Baer 4 years ago committed by GitHub
commit 7d4df23d3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      routes.go

@ -207,7 +207,6 @@ func RouteCollections(handler *Handler, r *mux.Router) {
r.HandleFunc("/page/{page:[0-9]+}", handler.Web(handleViewCollection, UserLevelReader))
r.HandleFunc("/tag:{tag}", handler.Web(handleViewCollectionTag, UserLevelReader))
r.HandleFunc("/tag:{tag}/feed/", handler.Web(ViewFeed, UserLevelReader))
r.HandleFunc("/tags/{tag}", handler.Web(handleViewCollectionTag, UserLevelReader))
r.HandleFunc("/sitemap.xml", handler.AllReader(handleViewSitemap))
r.HandleFunc("/feed/", handler.AllReader(ViewFeed))
r.HandleFunc("/{slug}", handler.CollectionPostOrStatic)

Loading…
Cancel
Save