0
0
Fork 0

Add helpers for ios/android app store links in welcome mailer (#33475)

This commit is contained in:
Matt Jankowski 2025-01-06 14:59:11 -05:00 committed by GitHub
parent 82d2ce293d
commit b0634b2943
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 4 deletions

View file

@ -238,6 +238,14 @@ module ApplicationHelper
I18n.t 'user_mailer.welcome.hashtags_recent_count', people: number_with_delimiter(people), count: people
end
def app_store_url_ios
'https://apps.apple.com/app/mastodon-for-iphone-and-ipad/id1571998974'
end
def app_store_url_android
'https://play.google.com/store/apps/details?id=org.joinmastodon.android'
end
private
def storage_host_var