Skip to content

Commit 98ce553

Browse files
pfeifferandrew
authored andcommitted
Fix binding of ignore_filter (#533)
1 parent 0945ea4 commit 98ce553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/split/helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def ab_user
122122
end
123123

124124
def exclude_visitor?
125-
instance_eval(&Split.configuration.ignore_filter) || is_ignored_ip_address? || is_robot? || is_preview?
125+
instance_exec(request, &Split.configuration.ignore_filter) || is_ignored_ip_address? || is_robot? || is_preview?
126126
end
127127

128128
def is_robot?

0 commit comments

Comments
 (0)