com.formkiq.server.controller.AdminController Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of formkiq-server Show documentation
Show all versions of formkiq-server Show documentation
Server-side integration for the FormKiQ ios application
package com.formkiq.server.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
/**
* Admin Controller.
*
*/
@Controller
@RequestMapping(value = "/admin")
public class AdminController {
/**
* Admin Clients page.
* @return {@link String}
*/
@RequestMapping(value = "/clients", method = RequestMethod.GET)
public String clients() {
return "admin/clients";
}
/**
* Admin Forms page.
* @return {@link String}
*/
@RequestMapping(value = "/forms", method = RequestMethod.GET)
public String forms() {
return "admin/forms";
}
/**
* Admin Index.
* @return {@link String}
*/
@RequestMapping(value = "/index", method = RequestMethod.GET)
public String index() {
return "redirect:/admin/users";
}
/**
* Admin Users page.
* @return {@link String}
*/
@RequestMapping(value = "/users", method = RequestMethod.GET)
public String users() {
return "admin/users";
}
/**
* Admin Workflows page.
* @return {@link String}
*/
@RequestMapping(value = "/workflows", method = RequestMethod.GET)
public String workflows() {
return "admin/workflows";
}
}