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