Skip to content

Commit 69214f4

Browse files
committed
Fix Togglz.
Prior this commit TogglzDialect wasn't registered and didn't have effect. Correction for 5096ed2 commit.
1 parent a5df0f3 commit 69214f4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/ru/mystamps/web/support/togglz/TogglzConfig.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import org.springframework.context.annotation.Bean;
2727
import org.springframework.context.annotation.Configuration;
2828

29+
import com.github.heneke.thymeleaf.togglz.TogglzDialect;
2930
import org.togglz.console.TogglzConsoleServlet;
3031
import org.togglz.core.manager.FeatureManager;
3132
import org.togglz.core.manager.FeatureManagerBuilder;
@@ -66,4 +67,9 @@ public ServletRegistrationBean getTogglzConsole() {
6667
return servlet;
6768
}
6869

70+
@Bean
71+
public TogglzDialect getTogglzDialect() {
72+
return new TogglzDialect();
73+
}
74+
6975
}

0 commit comments

Comments
 (0)