diff options
author | Pietro Moro <33845712+pietro-moro@users.noreply.github.com> | 2019-07-26 20:54:57 +0200 |
---|---|---|
committer | Rafael França <rafael@franca.dev> | 2019-07-26 14:54:57 -0400 |
commit | 0eff6956a55882817f67c8d471d32ed3e4b109ee (patch) | |
tree | d690b7e65e14a9e5bb22ac2cb5969c0f01c4722d /actionview/test/fixtures/_top_level_partial_only.erb | |
parent | 7f16fedad32f01664ad82829f244319bc752fcd7 (diff) | |
download | rails-0eff6956a55882817f67c8d471d32ed3e4b109ee.tar.gz rails-0eff6956a55882817f67c8d471d32ed3e4b109ee.tar.bz2 rails-0eff6956a55882817f67c8d471d32ed3e4b109ee.zip |
Added a phone_to helper method, on the style of mail_to and sms_to. (#36775)
* Added a phone_to helper method, on the style of mail_to and sms_to.
It creates an anchor tag with the href set to tel: *here your number*
which, when clicked on a mobile phone, or on a desktop with a supported
application, lets the phone app kick in, and it prepopulates it with the
phone number specified.
[Pietro Moro + Rafael Mendonça França]
Diffstat (limited to 'actionview/test/fixtures/_top_level_partial_only.erb')
0 files changed, 0 insertions, 0 deletions