user16722881
user16722881

Reputation:

How to deal with links internalization in thymeleaf?

The code below does not work, the link just disappears

 <a th:text="#{login.signup}" href="/registration">Sign Up</a>

Upvotes: 0

Views: 32

Answers (1)

asgarov1
asgarov1

Reputation: 4098

try using thymeleaf's way of defining links, with:

th:href="@{/registration}"

More here

Upvotes: 1

Related Questions