This commit is contained in:
Jie Shen 2019-10-24 10:06:30 +08:00 committed by GitHub
parent 56c7964d6b
commit 5fb7fbcd9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -25,6 +25,6 @@ class WelcomeController {
@GetMapping("/") @GetMapping("/")
public String welcome() { public String welcome() {
return "hello ignite"; return "Welcome";
} }
} }

View file

@ -4,7 +4,7 @@
<body> <body>
<h2 th:text="#{welcome}">Welcome</h2> <h2 th:text="#{welcome}">hello Ignite!</h2>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<img class="img-responsive" src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}"/> <img class="img-responsive" src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}"/>
@ -13,4 +13,4 @@
</body> </body>
</html> </html>