mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed documentation. [ci skip]
This commit is contained in:
parent
27bcec28bf
commit
9882ec4a50
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,9 @@ module ActionView
|
|||
# # => "And they f... (continued)"
|
||||
#
|
||||
# truncate("<p>Once upon a time in a world far far away</p>")
|
||||
# # => "<p>Once upon a time in a wo..."
|
||||
#
|
||||
# truncate("<p>Once upon a time in a world far far away</p>", escape: false)
|
||||
# # => "<p>Once upon a time in a wo..."
|
||||
#
|
||||
# truncate("Once upon a time in a world far far away") { link_to "Continue", "#" }
|
||||
|
|
Loading…
Reference in a new issue