mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:25:50 +00:00
fixing URL pattern issue
This commit is contained in:
parent
357ee0b78e
commit
628e142708
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
<datatables:table id="owners" data="${selections}" cdn="true" row="owner" theme="bootstrap2"
|
||||
cssClass="table table-striped" paginate="false" info="false" export="pdf">
|
||||
<datatables:column title="Name" cssStyle="width: 150px;" display="html">
|
||||
<spring:url value="owners/{ownerId}.html" var="ownerUrl">
|
||||
<spring:url value="/owners/{ownerId}.html" var="ownerUrl">
|
||||
<spring:param name="ownerId" value="${owner.id}"/>
|
||||
</spring:url>
|
||||
<a href="${fn:escapeXml(ownerUrl)}"><c:out value="${owner.firstName} ${owner.lastName}"/></a>
|
||||
|
|
Loading…
Reference in a new issue