@Override public void addViewControllers(ViewControllerRegistry registry) { registry.addViewController("/").setViewName("/examples/root"); registry.addViewController("/websocket").setViewName("/examples/websocket"); registry.addViewController("/websocket/sockjs").setViewName("/examples/websocket-sockjs"); registry.addViewController("/websocket/stomp").setViewName("/examples/websocket-stomp"); }
@Override public void addViewControllers(ViewControllerRegistry registry) { registry.addViewController("/").setViewName("index"); registry.addViewController("/login").setViewName("login"); registry.addViewController("/home").setViewName("home"); // registry.addViewController("/sign_up").setViewName("sign_up"); // registry.addViewController("/clinic").setViewName("clinicForm"); }
@Override public void addViewControllers(ViewControllerRegistry registry) { registry.addViewController("/").setViewName("index"); registry.addViewController("/home").setViewName("home"); registry.addViewController("/hello").setViewName("hello"); registry.addViewController("/login").setViewName("login"); registry.addViewController("/admin").setViewName("admin"); registry.addViewController("/403").setViewName("403"); }
@Override public void addViewControllers(ViewControllerRegistry registry) { registry.addViewController("/path"); }