Skip to content

Commit 2d7d8e1

Browse files
author
Fabien
committed
fix: POST path with slash not working anymore
1 parent af3073e commit 2d7d8e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dossierfacile-bo/src/main/resources/templates/bo/fragments/user-api-form.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html xmlns:th="http://www.thymeleaf.org">
33
<body>
44
<div th:fragments="user-api-form">
5-
<form enctype="multipart/form-data" th:action="@{/bo/userApi/} + ${userApiDTO.getId() != null ? userApiDTO.getId() : ''}" th:method="post" th:object="${userApiDTO}">
5+
<form enctype="multipart/form-data" th:action="@{/bo/userApi} + ${userApiDTO.getId() != null ? '/' + userApiDTO.getId() : ''}" th:method="post" th:object="${userApiDTO}">
66
<div class="row">
77
<div class="form-group col-md-6">
88
<img height="40px" alt="" th:src="*{logoUrl}" />

0 commit comments

Comments
 (0)