started #36
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 DatenschutzController {
|
||||
|
||||
/**
|
||||
* load the datenschutz page
|
||||
*
|
||||
* @return the datenschutz page
|
||||
*/
|
||||
@GetMapping("/datenschutz")
|
||||
public String getDatenschutz() {
|
||||
return "/datenschutz";
|
||||
}
|
||||
}
|
||||
@@ -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 ImpressumController {
|
||||
|
||||
/**
|
||||
* load the impressum page
|
||||
*
|
||||
* @return the impresum page
|
||||
*/
|
||||
@GetMapping("/impressum")
|
||||
public String getImpressum() {
|
||||
return "/impressum";
|
||||
}
|
||||
}
|
||||
@@ -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 KontaktController {
|
||||
|
||||
/**
|
||||
* load the kontakt page
|
||||
*
|
||||
* @return the kontakt page
|
||||
*/
|
||||
@GetMapping("/kontakt")
|
||||
public String getKontakt() {
|
||||
return "/kontakt";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package de.jottyfan.camporganizer.module.staticpages;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jotty
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class ReportsController {
|
||||
|
||||
/**
|
||||
* load the sub page
|
||||
*
|
||||
* @return the sub page
|
||||
*/
|
||||
@GetMapping("/reports/{subpage}")
|
||||
public String getSubpage(@PathVariable("subpage") String subpage) {
|
||||
return "/reports/" + subpage;
|
||||
}
|
||||
}
|
||||
@@ -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 VereinController {
|
||||
|
||||
/**
|
||||
* load the verein page
|
||||
*
|
||||
* @return the verein page
|
||||
*/
|
||||
@GetMapping("/verein")
|
||||
public String getVerein() {
|
||||
return "/verein";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user