themeing
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package de.jottyfan.bico.modules.index;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
import de.jottyfan.bico.modules.CommonController;
|
||||
@@ -13,7 +14,8 @@ import de.jottyfan.bico.modules.CommonController;
|
||||
@Controller
|
||||
public class IndexController extends CommonController {
|
||||
@GetMapping("/")
|
||||
public String getIndex() {
|
||||
public String getIndex(Model model) {
|
||||
useThemedModel(model);
|
||||
return "redirect:/sheet";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user