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