package com.cirle.scientific.controller.error;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class ErrorPageController {

    @GetMapping("/404")
    public String to404() {
        return "/error/404.html";
    }


    @GetMapping("/other")
    public String toOther() {
        return "/error/other.html";
    }

}
