Sha256: be8dc451cf49cdeee9050f9fa4fe20966acd2acf2b6c9ba135d410c83a231496
Contents?: true
Size: 286 Bytes
Versions: 1
Compression:
Stored size: 286 Bytes
Contents
# frozen_string_literal: true module Warclight ## # Helper methods for Warclight. module ApplicationHelper def link_to_live_web(options = {}) safe_join(options[:value].map do |url| link_to(url, url, target: '_blank') << ' 🔗' end, '') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
warclight-0.2.0 | app/helpers/warclight/application_helper.rb |