Concept Flow - Redirect and render
Controller action starts
Decision: Redirect or Render?
Redirect→Send HTTP redirect response
Browser requests new URL
Render view template
New controller action runs
Send HTTP response with HTML
Request ends
The controller decides to either redirect the browser to a new URL or render a view template directly, sending the appropriate HTTP response.