Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in code example from layouts and rendering guide
The code in 2.3.2 assumed that render has an alert option like redirect_to to create a flash alert message, but it doesn't.
- Loading branch information
f9f6fc7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it use flash.now?
f9f6fc7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, just fixed bd277ac, thanks!