Ajout de la page admin et des classes enchere et Utilisateur + test de commit pour JL
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package fr.eni.enchere.controllers;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
@Controller
|
||||
public class AdminController {
|
||||
|
||||
public AdminController() {
|
||||
}
|
||||
|
||||
@GetMapping( "/admin")
|
||||
public String viewAccueil(Model model) {
|
||||
return "admin";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user