lib/split/dashboard/views/_experiment.erb in split-0.7.0 vs lib/split/dashboard/views/_experiment.erb in split-0.7.1

- old
+ new

@@ -57,10 +57,10 @@ </td> <td> <span title='z-score: <%= round(alternative.z_score(goal), 3) %>'><%= confidence_level(alternative.z_score(goal)) %></span> </td> <td> - <% if experiment.winner %> + <% if experiment.has_winner? %> <% if experiment.winner.name == alternative.name %> Winner <% else %> Loser <% end %>