method
auto_link_email_addresses
v1.1.6 -
Show latest stable
- Class:
ActionView::Helpers::TextHelper
auto_link_email_addresses(text)private
Turns all email addresses into clickable links. If a block is given, each email is yielded and the result is used as the link text. Example:
auto_link_email_addresses(post.body) do |text| truncate(text, 15) end