Skip to content

Commit e21cf2f

Browse files
Minor change
1 parent f8f6bda commit e21cf2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routing/redirect_trailing_slash.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ new URL with a 308 (*HTTP Permanent Redirect*) response status code::
2828
$url = str_replace($pathInfo, rtrim($pathInfo, ' /'), $requestUri);
2929

3030
// 308 (Permanent Redirect) is similar to 301 (Moved Permanently) except
31-
// that it does not allow changing the request method from POST to GET
31+
// that it does not allow changing the request method (e.g. from POST to GET)
3232
return $this->redirect($url, 308);
3333
}
3434
}

0 commit comments

Comments
 (0)