referthis 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/referral.rb +1 -1
- metadata +1 -1
data/lib/referral.rb
CHANGED
@@ -41,7 +41,7 @@ class Referral < ActiveRecord::Base
|
|
41
41
|
threads.each {|thread| thread.join}
|
42
42
|
end
|
43
43
|
def self.clicked_through_rate(email=false, sms=false, overall=true)
|
44
|
-
|
44
|
+
clicked_through_rate = []
|
45
45
|
if email || sms
|
46
46
|
referrals = Referral.all
|
47
47
|
if referrals.any?
|