tramway-landing 1.8.2.1 → 1.8.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a28373e053e24950d52141c90d63e5952a170b6af432603793cac36c525afce
4
- data.tar.gz: 232fea1dbfd25d78e44cb45d2edb4e84597402b35990d4b4289b6b613864e119
3
+ metadata.gz: fa9325dc079d823b112596c2ff224c2b2ca00a6f89f755cb462417989731c4be
4
+ data.tar.gz: e2ea7da971354e87e2ae6feea99aa9920bfbc23e1ba9eace023ce506f2d71032
5
5
  SHA512:
6
- metadata.gz: 607dd7da27ebd8d26da4af7ea59303e6b6ba077ae24e35ab3613cacaeb2d8841bd338cb18daa74bacbf76b4b0f564a3ecae8b19886890cd530f5d0867911fdc3
7
- data.tar.gz: 23bb76b7855ab06d71d7a9b931f43898b33882f1e33b88bb532516e7fc678ce42e842581be3b7c89d6fab218dd3a7dec395630c47664b6ae0b064d29f21cd006
6
+ metadata.gz: a6a449d0709cfa64c5de861f6c603ecb2d4de9979a65166cf9d61a6cec4402c892e9410fa763546d1a100e337887a9349723c74334ad5823a293b9f0e5f7c995
7
+ data.tar.gz: e5c7acf93001b2fb311005a520f5c3891f2ab79ef26734c49a93e6569ee3251e19cc234a0704fda145301d68bf57d609660b12606ebefe9a0481465d3b4391cd
@@ -24,7 +24,8 @@
24
24
  .row
25
25
  - if defined?(::Tramway::Profiles)
26
26
  .col-lg-5.col-md-12
27
- - @application.social_networks.active.each do |profile|
27
+ - social_networks = @application.respond_to?(:social_networks) ? @application.social_networks : Tramway::Profiles::SocialNetwork.active
28
+ - social_networks.each do |profile|
28
29
  %ul.list-group
29
30
  %li.list-group-item
30
31
  = profile_link profile
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Landing
5
- VERSION = '1.8.2.1'
5
+ VERSION = '1.8.2.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-landing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2.1
4
+ version: 1.8.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov