aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/CHANGELOG.md
diff options
context:
space:
mode:
authorPietro Moro <33845712+pietro-moro@users.noreply.github.com>2019-07-26 20:54:57 +0200
committerRafael França <rafael@franca.dev>2019-07-26 14:54:57 -0400
commit0eff6956a55882817f67c8d471d32ed3e4b109ee (patch)
treed690b7e65e14a9e5bb22ac2cb5969c0f01c4722d /actionview/CHANGELOG.md
parent7f16fedad32f01664ad82829f244319bc752fcd7 (diff)
downloadrails-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/CHANGELOG.md')
-rw-r--r--actionview/CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index 504b1d3e98..ca3ce1476a 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Added `phone_to` helper method to create a link from mobile numbers
+
+ *Pietro Moro*
+
* annotated_source_code returns an empty array so TemplateErrors without a
template in the backtrace are surfaced properly by DebugExceptions.