-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aeb6d60
commit b6d48e1
Showing
1 changed file
with
18 additions
and
18 deletions.
There are no files selected for viewing
36 changes: 18 additions & 18 deletions
36
klab.hub/src/main/java/org/integratedmodelling/klab/hub/controllers/FrontEndController.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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
package org.integratedmodelling.klab.hub.controllers; | ||
|
||
import org.springframework.stereotype.Controller; | ||
import org.springframework.web.bind.annotation.GetMapping; | ||
import org.springframework.web.bind.annotation.RequestMapping; | ||
import org.springframework.web.servlet.ModelAndView; | ||
|
||
@Controller | ||
@RequestMapping("/") | ||
public class FrontEndController { | ||
|
||
@GetMapping("/") | ||
public ModelAndView home() { | ||
ModelAndView home = new ModelAndView(); | ||
home.setViewName("/ui/index.html"); | ||
return home; | ||
} | ||
} | ||
//package org.integratedmodelling.klab.hub.controllers; | ||
// | ||
//import org.springframework.stereotype.Controller; | ||
//import org.springframework.web.bind.annotation.GetMapping; | ||
//import org.springframework.web.bind.annotation.RequestMapping; | ||
//import org.springframework.web.servlet.ModelAndView; | ||
// | ||
//@Controller | ||
//@RequestMapping("/") | ||
//public class FrontEndController { | ||
// | ||
// @GetMapping("/") | ||
// public ModelAndView home() { | ||
// ModelAndView home = new ModelAndView(); | ||
// home.setViewName("/ui/index.html"); | ||
// return home; | ||
// } | ||
//} |