From: Andy Allan Date: Wed, 18 Dec 2024 15:06:18 +0000 (+0000) Subject: Merge pull request #5411 from tomhughes/bluesky-sharing X-Git-Tag: live~776 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/a012c5ecee85949f0a84093c7edfdd90d192768f?hp=7a2e53c2258940bd89e39c0822cff3e5ca02e091 Merge pull request #5411 from tomhughes/bluesky-sharing Add Bluesky to social sharing buttons --- diff --git a/lib/social_share_button_helper.rb b/lib/social_share_button_helper.rb index b45c7933a..9dac9a6c8 100644 --- a/lib/social_share_button_helper.rb +++ b/lib/social_share_button_helper.rb @@ -40,7 +40,7 @@ module SocialShareButtonHelper when :linkedin "https://www.linkedin.com/sharing/share-offsite/?url=#{URI.encode_www_form_component(params[:url])}" when :facebook - "https://www.facebook.com/sharer/sharer.php?u=#{URI.encode_www_form_component('params[:url]')}&t=#{URI.encode_www_form_component(params[:title])}" + "https://www.facebook.com/sharer/sharer.php?u=#{URI.encode_www_form_component(params[:url])}&t=#{URI.encode_www_form_component(params[:title])}" when :mastodon "https://mastodonshare.com/?text=#{URI.encode_www_form_component(params[:title])}&url=#{URI.encode_www_form_component(params[:url])}" when :telegram