From c21a65a075eecffc14d2b0c1eeb8fd869a9c9002 Mon Sep 17 00:00:00 2001 From: Nightblade73 Date: Wed, 6 Mar 2019 16:48:51 +0400 Subject: [PATCH] #54 add transitions --- .../java/ru/ulstu/configuration/MvcConfiguration.java | 1 + src/main/resources/templates/conferences/conferences.html | 8 +++++++- src/main/resources/templates/index.html | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/main/java/ru/ulstu/configuration/MvcConfiguration.java b/src/main/java/ru/ulstu/configuration/MvcConfiguration.java index 8543847..3e8d66f 100644 --- a/src/main/java/ru/ulstu/configuration/MvcConfiguration.java +++ b/src/main/java/ru/ulstu/configuration/MvcConfiguration.java @@ -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"); } diff --git a/src/main/resources/templates/conferences/conferences.html b/src/main/resources/templates/conferences/conferences.html index dbd1f49..ab9fd31 100644 --- a/src/main/resources/templates/conferences/conferences.html +++ b/src/main/resources/templates/conferences/conferences.html @@ -7,7 +7,13 @@
- + + нажать
diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 0f83f3f..40a1281 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -60,7 +60,7 @@
- +