dakshmehta007 opened a new pull request, #966: URL: https://github.com/apache/grails-doc/pull/966
This pull request updates the [redirect.adoc] file to document the newly added temporary argument for the redirect method. The temporary argument allows developers to specify HTTP 307 (Temporary Redirect) and HTTP 308 (Permanent Redirect) status codes, enhancing the flexibility of redirect behavior in Grails applications. Changes Made: Examples Section: Added examples demonstrating the usage of the temporary argument: redirect(action: "foo", temporary: true) for HTTP 307 Temporary Redirect. redirect(action: "foo", permanent: true, temporary: true) for HTTP 308 Permanent Redirect. Parameters Section: Documented the temporary argument: If true, the redirect will use HTTP status codes 307 (temporary) or 308 (permanent temporary) based on the permanent flag. Consistency: Ensured the documentation aligns with the existing style and structure of the redirect method documentation. Issue Fixed: This PR addresses the request to update the documentation for the redirect method to include the new temporary argument, as per the changes introduced in #14092. -- 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]
