tramway-profiles/app/decorators/tramway/profiles/social_network_decorator.rb
# frozen_string_literal: true
class ::Tramway::Profiles::SocialNetworkDecorator < ::Tramway::ApplicationDecorator
class << self
def collections
[:all]
end
end
delegate :title, to: :object
def name
"#{object.network_name} | #{object.title}"
end
end