|
|
|
@ -13,6 +13,7 @@ public class MvcConfiguration extends WebMvcConfigurerAdapter {
|
|
|
|
|
//registry.addViewController("/admin/{articlename:\\w+}");
|
|
|
|
|
registry.addViewController("/papers/{articlename:\\w+}");
|
|
|
|
|
registry.addViewController("/grants/{articlename:\\w+}");
|
|
|
|
|
registry.addViewController("/conferences/{articlename:\\w+}");
|
|
|
|
|
registry.addRedirectViewController("/", "/index");
|
|
|
|
|
registry.addRedirectViewController("/default", "/index");
|
|
|
|
|
}
|
|
|
|
|