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:
parent
af8d841a2c
commit
3f3f7af9e8
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue