1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix phone_to API documentation sample output

This commit is contained in:
Sohaib Talaat Bhatti 2021-03-05 17:05:24 +05:00
parent af8d841a2c
commit 3f3f7af9e8

View file

@ -646,10 +646,10 @@ module ActionView
# # => <a href="tel:1234567890">1234567890</a>
#
# phone_to "1234567890", "Phone me"
# # => <a href="tel:134567890">Phone me</a>
# # => <a href="tel:1234567890">Phone me</a>
#
# phone_to "1234567890", country_code: "01"
# # => <a href="tel:+015155555785">1234567890</a>
# # => <a href="tel:+011234567890">1234567890</a>
#
# You can use a block as well if your link target is hard to fit into the name parameter. \ERB example:
#