Last change
on this file since 46fd0c7 was 46fd0c7, checked in by Gjoko Kostadinov <gjoko.kostadinov@…>, 16 months ago |
Add admin page initial work.
|
-
Property mode
set to
100644
|
File size:
349 bytes
|
Line | |
---|
1 | package edu.gjoko.schedlr.controllers;
|
---|
2 |
|
---|
3 | import org.springframework.stereotype.Controller;
|
---|
4 | import org.springframework.ui.Model;
|
---|
5 | import org.springframework.web.bind.annotation.GetMapping;
|
---|
6 |
|
---|
7 | @Controller
|
---|
8 | public class AdminController {
|
---|
9 |
|
---|
10 | @GetMapping(path = "/admin")
|
---|
11 | public String getAdminPageTemplate(Model model) {
|
---|
12 | return "admin";
|
---|
13 | }
|
---|
14 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.