Class PageController

java.lang.Object
com.bdtripp.hauntedhouse.controller.PageController

@Controller public class PageController extends Object
Serves the main HTML page. The PageController handles requests to the root URL and returns the static index view, which loads the client-side terminal interface.
Author:
Brian Tripp
  • Constructor Details

    • PageController

      public PageController()
      Creates a new PageController.
  • Method Details

    • home

      @GetMapping("/") public String home()
      Handles requests to the home page.
      Returns:
      the name of the view to render