app/helpers/tramway/profiles/links_helper.rb in tramway-profiles-1.1.2 vs app/helpers/tramway/profiles/links_helper.rb in tramway-profiles-1.2
- old
+ new
@@ -19,9 +19,13 @@
def instagram(uid, title)
profile_link_template title, "https://instagram.com/#{uid}", :instagram
end
+ def telegram(uid, title)
+ profile_link_template title, "https://teleg.run/#{uid}", :telegram
+ end
+
def profile_link_template(title, link, icon)
link_to link, target: '_blank' do
concat fa_icon icon
concat ' '
concat title