social_share_privacy 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/social_share_privacy/version.rb +1 -1
- data/lib/social_share_privacy.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de999d2a35880625837bd4aad132f49f002a7e56
|
4
|
+
data.tar.gz: 1a21cf993f19279460904671ff90601107045463
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4966e729039c0abb836a49e1b8747052c424466d40154a4c48d608c86c61e9347313cfebee62bc8a47eb6e64fae4c4ab957c38b257fdfa3b496e8efe732096fd
|
7
|
+
data.tar.gz: 65cf5857d3628ee865d32eaad82deefa3afe8efb23e82e434074d559d93fb7ee8c6ac95d1e8396b82669f7adc7e0ae4315097b67fe5a91a94b1c07c81884bd21
|
data/lib/social_share_privacy.rb
CHANGED
@@ -94,7 +94,7 @@ module SocialSharePrivacy
|
|
94
94
|
@txt_off = Proc.new { I18n.t("#{loc_s}.txt_off") }
|
95
95
|
@txt_on = Proc.new { I18n.t("#{loc_s}.txt_on") }
|
96
96
|
@display_name = Proc.new { I18n.t("#{loc_s}.display_name") }
|
97
|
-
@dummy_button = Proc.new { asset_path('social_share_privacy/dummy_' + self.class.name.downcase + '.png')}
|
97
|
+
@dummy_button = Proc.new { helper.asset_path('social_share_privacy/dummy_' + self.class.name.downcase + '.png')}
|
98
98
|
end
|
99
99
|
|
100
100
|
def enabled= value
|
@@ -119,7 +119,7 @@ module SocialSharePrivacy
|
|
119
119
|
|
120
120
|
def eval request
|
121
121
|
result = super request
|
122
|
-
result.dummy_button =
|
122
|
+
result.dummy_button = helper.asset_path('social_share_privacy/dummy_facebook_de.png') if result.language == 'de'
|
123
123
|
result
|
124
124
|
end
|
125
125
|
|