-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add templates email and index for documentation
- Loading branch information
1 parent
a9cec80
commit 7971f8b
Showing
8 changed files
with
531 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/main/java/com/aniversend/controllers/RouteController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.aniversend.controllers; | ||
|
||
import javax.servlet.http.HttpSession; | ||
|
||
import org.springframework.stereotype.Controller; | ||
import org.springframework.web.bind.annotation.GetMapping; | ||
|
||
@Controller | ||
public class RouteController { | ||
|
||
@GetMapping("/") | ||
public String index(HttpSession session) { | ||
session.setAttribute("nameApp", "AniverSend"); | ||
return "index"; | ||
} | ||
|
||
} |
Oops, something went wrong.