lib/sidetiq/views/locks.erb in sidetiq-0.6.3 vs lib/sidetiq/views/locks.erb in sidetiq-0.7.0
- old
+ new
@@ -34,9 +34,10 @@
<td>
<%= pttl / 1000 %> s
</td>
<td>
<form action="<%= "#{root_path}sidetiq/#{meta.key}/unlock" %>" method="post">
+ <%= csrf_tag %>
<input class="btn btn-danger btn-small" type="submit" name="trigger" value="Unlock" data-confirm="Are you sure you want remove this lock?" />
</form>
</td>
</tr>
<% end %>