All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.formkiq.server.controller.AdminController Maven / Gradle / Ivy

There is a newer version: 0.6.1
Show newest version
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";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy