Add Thymeleaf th:href usage instead of pageContext.request.contextPath (#323)

* Add Thymeleaf th:href usage instead of pageContext.request.contextPath

* Add Thymeleaf th:href usage instead of pageContext.request.contextPath
This commit is contained in:
erhun 2017-01-31 19:01:41 +02:00 committed by misfir3
parent ee5a12d205
commit 21659ac298

View File

@ -11,7 +11,7 @@
<section id="container">
<header id="header">
<div class="brand">
<a href="${pageContext.request.contextPath}/start.mvc" class="logo"><span>Web</span>Goat</a>
<a th:href="@{/start.mvc}" class="logo"><span>Web</span>Goat</a>
</div>
<div class="toggle-navigation toggle-left">
</div>