File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed
java/com/github/throyer/common/springboot/controllers/app Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 9
9
<br >
10
10
<br >
11
11
12
- [ ** Live demo on heroku** ] ( https://throyer-crud-api.herokuapp.com/app )
12
+ [ ** Live demo on heroku** ] ( https://throyer-crud-api.herokuapp.com )
13
13
14
14
## Sumario
15
15
Original file line number Diff line number Diff line change
1
+ package com .github .throyer .common .springboot .controllers .app ;
2
+
3
+ import org .springframework .stereotype .Controller ;
4
+ import org .springframework .web .bind .annotation .RequestMapping ;
5
+
6
+ @ Controller
7
+ public class HomeController {
8
+
9
+ @ RequestMapping ("/" )
10
+ public String index () {
11
+ return "redirect:/app" ;
12
+ }
13
+ }
Original file line number Diff line number Diff line change 4
4
< div class ="col-lg-8 mx-auto p-3 py-md-5 ">
5
5
< header class ="d-flex align-items-center pb-3 mb-5 border-bottom ">
6
6
< a th:href ="@{/app} " class ="d-flex d-flex flex-row container align-items-center justify-content-between text-dark text-decoration-none ">
7
- < img class ="d-inline-block align-top ml-2 "
7
+ < img class ="d-inline-block align-top ml-2 img-fluid "
8
8
width ="500 "
9
9
src ="https://github.com/Throyer/springboot-api-crud/raw/master/assets/tecnologias.png ">
10
- < span class ="fs-1 "> Simple spring Boot API crud</ span >
10
+ < span class ="fs-1 d-none d-sm-block "> Simple spring Boot API crud</ span >
11
11
</ a >
12
12
</ header >
13
13
You can’t perform that action at this time.
0 commit comments