Skip to content

Commit 81d64b1

Browse files
authored
Merge pull request rails#55452 from jrodriigues/main
Fix wrong output of variable in Action View Helpers guide [skip ci]
2 parents 9a64857 + 46deb94 commit 81d64b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/action_view_helpers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ The return of capture is the string generated by the block.
837837

838838
``` ruby
839839
@greeting
840-
# => "Welcome to my shiny new web page! The date and time is 2018-09-06 11:09:16 -0500"
840+
# => "Welcome! The date and time is 2018-09-06 11:09:16 -0500"
841841
```
842842

843843
See the [`capture` API

0 commit comments

Comments
 (0)