package com.ejie.y41e.control;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller()
@RequestMapping(value = "/comun")
public class Y41eComunController {
    private static final Logger LOGGER = LoggerFactory.getLogger(Y41eComunController.class);

    /**
     * The method informacionLegal.
     * 
     * @return ModelAndView
     */
    @RequestMapping(value = "/infoLegal", method = RequestMethod.GET)
    public ModelAndView informacionLegal() {
        Y41eComunController.LOGGER.debug("[GET] /comun/infoLegal");
        return new ModelAndView("infoLegal");
    }
}
