You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/source/action_view_helpers.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Action View Helpers
5
5
6
6
After reading this guide, you will know:
7
7
8
-
* How to format dates, strings and numbers
8
+
* How to format dates, strings, and numbers
9
9
* How to link to images, videos, stylesheets, etc...
10
10
* How to sanitize content
11
11
* How to localize content
@@ -138,7 +138,8 @@ See the [API Documentation](https://api.rubyonrails.org/classes/ActionView/Helpe
138
138
139
139
#### picture_tag
140
140
141
-
Returns an HTML picture tag for the source. It supports passing a String, an Array or a Block.
141
+
Returns an HTML picture tag for the source. It supports passing a String, an
142
+
Array, or a Block.
142
143
143
144
```ruby
144
145
picture_tag("icon.webp", "icon.png")
@@ -158,7 +159,8 @@ See the [API Documentation](https://api.rubyonrails.org/classes/ActionView/Helpe
158
159
159
160
#### preload_link_tag
160
161
161
-
Returns a link tag that browsers can use to preload the source. The source can be the path of a resource managed by asset pipeline, a full path, or an URI.
162
+
Returns a link tag that browsers can use to preload the source. The source can
163
+
be the path of a resource managed by the asset pipeline, a full path, or a URI.
0 commit comments