jdaugherty commented on code in PR #966:
URL: https://github.com/apache/grails-doc/pull/966#discussion_r2021035272


##########
src/en/ref/Controllers/redirect.adoc:
##########
@@ -64,13 +61,14 @@ class SomeController {
 * `fragment` (optional) - The link fragment (often called anchor tag) to use
 * `mapping` (optional) - The <<namedMappings,named URL mapping>> to use to 
rewrite the link
 * `params` (optional) - a map containing request parameters
-* `url` (optional) - a map containing the action, controller, id etc.
+* `url` (optional) - a map containing the action, controller, id, etc.
 * `absolute` (optional) - If `true` (default) will prefix the link target 
address with the value of the `grails.serverURL` property from 
`application.yml`, or http://localhost:<port> if there is no value in 
`application.yml` and not running in the production environment. If `false` a 
partial URI is generated for the `Location` header.
 * `base` (optional) - Sets the prefix to be added to the link target address, 
typically an absolute server URL. This overrides the behaviour of the 
`absolute` property if both are specified.
-* `permanent` (optional) - If `true` the redirect will be issued with a 301 
HTTP status code (permanently moved), otherwise a 302 HTTP status code will be 
issued
+* `permanent` (optional) - If `true`, the redirect will be issued with a 301 
HTTP status code (permanently moved); otherwise, a 302 HTTP status code will be 
issued.
+* `temporary` (optional) - If `true`, the redirect will use HTTP status codes 
307 (temporary) or 308 (permanent temporary) based on the `permanent` flag.

Review Comment:
   Can you update this for the argument name change?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to