Class SetupController

java.lang.Object
se.bth.pulse.controller.SetupController

@Controller public class SetupController extends Object
This class is a view controller that serves the setup page.
  • Constructor Details

  • Method Details

    • showSetup

      @GetMapping("/setup") public String showSetup(org.springframework.ui.Model model)
      Serves the setup page to the user if the setup is not done, otherwise redirects to the home page.
      Parameters:
      model - - used to pass attributes to the view
      Returns:
      String - the view to be rendered