Skip to content

Commit

Permalink
Merge pull request #10 from Springest/scope-funnel-from-cookie
Browse files Browse the repository at this point in the history
Cast AbPanel.funnels to set
  • Loading branch information
timflapper authored Jul 13, 2016
2 parents b707581 + b64ed10 commit 5a4dd69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ab_panel/controller_additions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def initialize_ab_panel!(options = {})
AbPanel.reset!
AbPanel.conditions = cookies.signed['ab_panel_conditions']
cookies.signed['ab_panel_conditions'] = AbPanel.conditions
AbPanel.funnels = cookies.signed['ab_panel_funnels']
AbPanel.funnels = Set.new(cookies.signed['ab_panel_funnels'])
cookies.signed['ab_panel_funnels'] = AbPanel.funnels

{
Expand Down

0 comments on commit 5a4dd69

Please sign in to comment.