From 58ed17d35e17b4c13c4ba3c4ddfbdab4a92948c9 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Wed, 13 May 2015 23:09:02 -0700 Subject: [PATCH] Update slash.go --- middleware/slash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/slash.go b/middleware/slash.go index fead6d8c..c343c8af 100644 --- a/middleware/slash.go +++ b/middleware/slash.go @@ -15,7 +15,7 @@ func StripTrailingSlash() echo.HandlerFunc { } // RedirectToSlash redirects requests without trailing slash path to trailing slash -// path with status code. +// path, with status code. func RedirectToSlash(code int) echo.HandlerFunc { return func(c *echo.Context) (he *echo.HTTPError) { p := c.Request.URL.Path