Skip to content

Commit 04b4719

Browse files
authored
Merge pull request rails#54075 from AaronKe11er/docs-rails-controller-guide-gramatical-error
2 parents 92b3160 + 1910d2d commit 04b4719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/action_controller_overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ it will do with what the previous action put in the flash.
825825

826826
#### Displaying flash messages
827827

828-
If a previous action _has_ set a flash message, it's a good idea of display that
828+
If a previous action _has_ set a flash message, it's a good idea to display that
829829
to the user. We can accomplish this consistently by adding the HTML for
830830
displaying any flash messages in the application's default layout. Here's an
831831
example from `app/views/layouts/application.html.erb`:

0 commit comments

Comments
 (0)