Class: Tramway::Profiles::SocialNetworkDecorator
- Inherits:
-
ApplicationDecorator
- Object
- ApplicationDecorator
- Tramway::Profiles::SocialNetworkDecorator
- Defined in:
- app/decorators/tramway/profiles/social_network_decorator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.collections ⇒ Object
5 6 7 |
# File 'app/decorators/tramway/profiles/social_network_decorator.rb', line 5 def collections [:all] end |
Instance Method Details
#name ⇒ Object
12 13 14 |
# File 'app/decorators/tramway/profiles/social_network_decorator.rb', line 12 def name "#{object.network_name} | #{object.title}" end |