Retrospring/app/helpers/social_helper/bluesky_methods.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
204 B
Ruby
Raw Normal View History

2024-03-01 11:47:38 -08:00
# frozen_string_literal: true
require "cgi"
module SocialHelper::BlueskyMethods
def bluesky_share_url(answer)
"https://bsky.app/intent/compose?text=#{CGI.escape(prepare_tweet(answer))}"
end
end