lib/split/dashboard/views/_experiment.erb in split-1.3.0 vs lib/split/dashboard/views/_experiment.erb in split-1.3.1
- old
+ new
@@ -93,10 +93,10 @@
Winner
<% else %>
Loser
<% end %>
<% else %>
- <form action="<%= url experiment.name %>" method='post' onclick="return confirmWinner()">
+ <form action="<%= url('experiment') + '?experiment=' + experiment.name %>" method='post' onclick="return confirmWinner()">
<input type='hidden' name='alternative' value='<%= h alternative.name %>'>
<input type="submit" value="Use this" class="green">
</form>
<% end %>
</td>