friends_helper.rb 143 Bytes
Newer Older
Eugen Rochko's avatar
Eugen Rochko committed
1
module FriendsHelper
2 3 4 5
  def mastodon_profile_url(uid)
    username, domain = uid.split('@')
    "https://#{domain}/users/#{username}"
  end
Eugen Rochko's avatar
Eugen Rochko committed
6
end