basic #36 done, just some menu refactoring left for the internal pages
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package de.jottyfan.camporganizer.module.staticpages;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jotty
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class AllgemeinesController {
|
||||
|
||||
/**
|
||||
* load the allgemeines page
|
||||
*
|
||||
* @return the allgemeines page
|
||||
*/
|
||||
@GetMapping("/allgemeines")
|
||||
public String getAllgemeines() {
|
||||
return "/allgemeines";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package de.jottyfan.camporganizer.module.staticpages;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jotty
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class IndexController {
|
||||
|
||||
@GetMapping("/")
|
||||
public String getIndex() {
|
||||
return "/index";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user