package com.huixinpn.dionysus.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class HomeController {

	@RequestMapping(
		value = { 
			"/", 
			"/app/**",  
			"/about", "/login", "/logout", "/register",
			"/articles/**",
			"/appointments/**",
			"/consultants/**",
			"/courses/**",
			"/error/**",
			"/profile/**",
			"/tests/**",
			"/site/**"
		}, 
		method = RequestMethod.GET)
	public String index() {
		return "/index.html";
	}

	@RequestMapping(value = "/admin/**", method = RequestMethod.GET)
	public String admin() {
		return "/admin.html";
	}

	@RequestMapping(value = "/consultant/**", method = RequestMethod.GET)
	public String consultant() {
		return "/consultant.html";
	}
}

@@ -503,16 +503,39 @@
 site/**%22
+,%0A            %22/fms/**%22
 %0A%09%09%7D, %0A%09

add fms/ to home controller