Método de exclusão de formulário de timyled
<form action="#" th:action="@{'/delete/{id}'(id=${foo.id})}" th:method="delete" >
<input type="hidden" name="_method" value="delete" />
<button type="submit" id="submitButton"> </button>
</form>
DevPedrada