Class ApplicationController
java.lang.Object
org.eco.mubisoft.good_and_cheap.application.control.ApplicationController
@Controller
public class ApplicationController
extends java.lang.Object
Application Controller
Controller for the main application. Its duty is to get the user to the index page whenever they search for the applications' domain.
-
Constructor Summary
Constructors Constructor Description ApplicationController()
-
Method Summary
Modifier and Type Method Description java.lang.String
getIndex(org.springframework.ui.Model model)
GET INDEXMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ApplicationController
public ApplicationController()
-
-
Method Details
-
getIndex
@GetMapping("/") public java.lang.String getIndex(org.springframework.ui.Model model)GET INDEX
Get the route of the main html file of the application at the base route.
- Returns:
- The name of the html file.
-