Flowdock
method

auto_link_urls

Importance_1
v1.1.6 - Show latest stable - 0 notes - Class: ActionView::Helpers::TextHelper
auto_link_urls(text, href_options = {}) private

Turns all urls into clickable links. If a block is given, each url is yielded and the result is used as the link text. Example:

  auto_link_urls(post.body, :all, :target => '_blank') do |text|
    truncate(text, 15)
  end
Show source
Register or log in to add new notes.