Retrospring/app/models/user/sharing_methods.rb

8 lines
135 B
Ruby

# frozen_string_literal: true
module User::SharingMethods
def display_sharing_custom_url
URI(sharing_custom_url).host
end
end