Skip to content
Browse files

Fixing issue with view helper not allowing param-based override prope…

…rly.
  • Loading branch information...
1 parent 7177a77 commit 4409c39344ab0b9a6377781e9ab30e6b8a94e23d @patio11 patio11 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/abingo_view_helper.rb
View
2 lib/abingo_view_helper.rb
@@ -3,7 +3,7 @@
module AbingoViewHelper
def ab_test(test_name, alternatives = nil, options = {})
- if (!Abingo.options[:disable_specification] && !params[test_name].blank?)
+ if (Abingo.options[:enable_specification] && !params[test_name].blank?)
choice = params[test_name]
elsif (alternatives.nil?)
choice = Abingo.flip(test_name)

0 comments on commit 4409c39

Please sign in to comment.
Something went wrong with that request. Please try again.