package com.fusi24.hse.begems.editor.controller;

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

@Controller
public class WebController {

	@GetMapping
	public ModelAndView index() {
		ModelAndView modelAndView = new ModelAndView("index");
		modelAndView.addObject("title", "HSE Editor");
		modelAndView.addObject("heading", "HSE BeGeMS Document Editor");
		return modelAndView;
	}
}
