no_notifier_needed 2.4.1 → 2.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/initializers/notifier.rb +2 -2
- data/no_notifier_needed.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.4.
|
1
|
+
2.4.2
|
data/initializers/notifier.rb
CHANGED
@@ -91,12 +91,12 @@ class Notifier < ActionMailer::Base
|
|
91
91
|
to_ret.join(" ")
|
92
92
|
end
|
93
93
|
|
94
|
-
def utm_params
|
94
|
+
def utm_params
|
95
95
|
return "" unless @template.respond_to?(:utm_params)
|
96
96
|
utm = @template.utm_params
|
97
97
|
to_ret = utm if utm.is_a?(String)
|
98
98
|
to_ret = utm.join("&") if utm.is_a?(Array)
|
99
|
-
to_ret = utm.collect { |k,v| "#{k}=#{v}"}.join("&")
|
99
|
+
to_ret = utm.collect { |k,v| "#{k}=#{v}"}.join("&") if utm.is_a?(Hash)
|
100
100
|
return "?" + to_ret
|
101
101
|
end
|
102
102
|
|
data/no_notifier_needed.gemspec
CHANGED