dakshmehta007 commented on PR #14092:
URL: https://github.com/apache/grails-core/pull/14092#issuecomment-2763093385

   @jdaugherty  I've updated the implementation as suggested to use a dedicated 
argument instead of request attributes. Now the implementation changes:
   
   - Adds a new `ARGUMENT_TEMPORARY` constant following the pattern of 
`ARGUMENT_PERMANENT`
   - Uses arguments instead of request attributes for controlling redirect 
behavior
   - Updates the usage to be more consistent with existing patterns: groovy
   
   // For 307 Temporary Redirect
   redirect(action:'foo', temporary:true)
   
   // For 308 Permanent Redirect 
   redirect(action:'foo', permanent:true, temporary:true)


-- 
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